OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 body { | 5 body { |
6 height: 5000px; | 6 height: 5000px; |
7 overflow-x: hidden; | 7 overflow-x: hidden; |
8 } | 8 } |
9 | 9 |
10 #transform { | 10 #transform { |
(...skipping 18 matching lines...) Expand all Loading... |
29 position: fixed; | 29 position: fixed; |
30 left: 0px; | 30 left: 0px; |
31 top: 0px; | 31 top: 0px; |
32 } | 32 } |
33 </style> | 33 </style> |
34 <script> | 34 <script> |
35 function doTest() { | 35 function doTest() { |
36 window.scrollTo(0, 1000); | 36 window.scrollTo(0, 1000); |
37 if (window.testRunner) { | 37 if (window.testRunner) { |
38 document.getElementById('layertree').innerText = window.internals.la
yerTreeAsText(document); | 38 document.getElementById('layertree').innerText = window.internals.la
yerTreeAsText(document); |
39 testRunner.dumpAsText(true); | 39 testRunner.dumpAsTextWithPixelResults(); |
40 } | 40 } |
41 } | 41 } |
42 window.addEventListener("load", doTest, false); | 42 window.addEventListener("load", doTest, false); |
43 </script> | 43 </script> |
44 </head> | 44 </head> |
45 <body> | 45 <body> |
46 <!-- the red indicator should be covered by the green overlap element --> | 46 <!-- the red indicator should be covered by the green overlap element --> |
47 <div id="transform"> | 47 <div id="transform"> |
48 <div id="indicator"></div> | 48 <div id="indicator"></div> |
49 </div> | 49 </div> |
50 <div id="overlap"></div> | 50 <div id="overlap"></div> |
51 | 51 |
52 <pre id="layertree"></pre> | 52 <pre id="layertree"></pre> |
53 </body> | 53 </body> |
54 </html> | 54 </html> |
OLD | NEW |