8 window.testRunner.notifyDone();
11 if (window.location.hash == '') {
12 if (window.testRunner)
13 window.testRunner.waitUntilDone();
14 window.onhashchange = done;
20 display: inline-block;
29 overflow: hidden; /* Still scrollable with JS */
30 border: 1px solid black;
42 outline: 2px solid black;
53 background-color: gray;
61 background-color: green;
68 background-color: red;
74 <div class="spacer"></div>
76 <div class="indicator box" style="top: 200px;"></div>
77 <div class="container">
78 <div class="sticky box"></div>
82 <div class="group" style="top: 100px">
83 <div class="indicator box" style="top: 120px;"></div>
84 <div class="container">
85 <div class="sticky box"></div>
89 <div class="group" style="top: 240px">
90 <div class="indicator box" style="top: 0;"></div>
91 <div class="container">
92 <div class="sticky box"></div>
95 <div id="hash" class="hash" style="top: 119px;">
98 <div style="position: absolute; top: 560px;">
99 This test checks that sticky positioning when scrolled by fragment.
100 There should be no red.