2 <!-- Any copyright is dedicated to the Public Domain.
3 - http://creativecommons.org/publicdomain/zero/1.0/ -->
6 <title>CSS Test: Sticky Positioning - top, normal position
</title>
7 <link rel=
"author" title=
"Corey Ford" href=
"mailto:cford@mozilla.com">
8 <link rel=
"match" href=
"top-2-ref.html">
9 <meta name=
"flags" content=
"dom">
10 <meta name=
"assert" content=
"Sticky-top with not enough scrolling: should be in its normal position">
18 background-color: gray;
24 background-color: black;
28 background-color: blue;
34 <div style=
"height: 20px"></div>
36 <div id=
"sticky"></div>
37 <div id=
"static"></div>
39 <div style=
"height: 100px"></div>
41 <script type=
"application/javascript">
42 document.getElementById(
"scroll").scrollTop =
10;