mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-04 16:11:54 +00:00
Now each test type has the same directories: - input - expected - data Also, tests can be in subdirectories within ./input.
29 lines
643 B
HTML
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>
|