ladybird/Tests/LibWeb/Ref/expected/sticky-positioned-box-with-border-ref.html
Sam Atkins b7efb61fbe Tests/LibWeb: Restructure Ref and Screenshot test dirs to match others
Now each test type has the same directories:
- input
- expected
- data

Also, tests can be in subdirectories within ./input.
2024-11-05 14:02:07 +00:00

29 lines
643 B
HTML

<link rel="match" href="reference/sticky-positioned-box-with-border-ref.html" />
<style>
* {
scrollbar-width: none;
}
html,
body {
margin: 0;
}
.sticky {
position: relative;
top: 0;
left: 0;
right: 0;
background-color: cyan;
border-top: 20px solid magenta;
padding: 0.5em;
}
#scrollable {
width: 300px;
height: 200px;
overflow: auto;
position: relative;
border: 1px solid black;
}
</style>
<div id="scrollable">
<div style="height: 10000px"><div class="sticky">I'm sticky</div></div>
</div>