OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .non-layer-viewport-constrained { | 5 .non-layer-viewport-constrained { |
6 position: fixed; | 6 position: fixed; |
7 } | 7 } |
8 | 8 |
9 .box { | 9 .box { |
10 width: 50px; | 10 width: 50px; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 } else { | 90 } else { |
91 debug("This test requires window.internals."); | 91 debug("This test requires window.internals."); |
92 description("This test ensures that when the main frame cannot be " + | 92 description("This test ensures that when the main frame cannot be " + |
93 "scrolled, we ignore reasons for scrolling on the main " + | 93 "scrolled, we ignore reasons for scrolling on the main " + |
94 "thread that only matter when the main frame scrolls"); | 94 "thread that only matter when the main frame scrolls"); |
95 } | 95 } |
96 } | 96 } |
97 | 97 |
98 window.onload = runTest; | 98 window.onload = runTest; |
99 </script> | 99 </script> |
100 <script src="../../fast/js/resources/js-test-pre.js"></script> | 100 <script src="../../fast/js/resources/js-test-post.js"></script> |
101 </head> | 101 </head> |
102 <body> | 102 <body> |
103 <div class="non-layer-viewport-constrained box" id="sibling"></div> | 103 <div class="non-layer-viewport-constrained box" id="sibling"></div> |
104 <div class="container" id="parent"> | 104 <div class="container" id="parent"> |
105 <div class="box container-element"></div> | 105 <div class="box container-element"></div> |
106 <div class="box container-element"></div> | 106 <div class="box container-element"></div> |
107 <div class="box container-element"></div> | 107 <div class="box container-element"></div> |
108 <div class="box container-element"></div> | 108 <div class="box container-element"></div> |
109 <div class="box container-element"></div> | 109 <div class="box container-element"></div> |
110 </div> | 110 </div> |
111 </body> | 111 </body> |
112 </html> | 112 </html> |
OLD | NEW |