OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 body { | 4 body { |
5 direction: rtl; | 5 direction: rtl; |
6 margin: 0px; | 6 margin: 0px; |
7 background-color: red; | 7 background-color: red; |
8 } | 8 } |
9 | 9 |
10 .positioned { | 10 .positioned { |
(...skipping 24 matching lines...) Expand all Loading... |
35 position: absolute; | 35 position: absolute; |
36 top: 10000px; | 36 top: 10000px; |
37 left: 0px; | 37 left: 0px; |
38 } | 38 } |
39 </style> | 39 </style> |
40 <script> | 40 <script> |
41 function doTest() { | 41 function doTest() { |
42 if (window.testRunner) { | 42 if (window.testRunner) { |
43 if (top == self) | 43 if (top == self) |
44 document.getElementById('layertree').innerText = window.internal
s.layerTreeAsText(document); | 44 document.getElementById('layertree').innerText = window.internal
s.layerTreeAsText(document); |
45 testRunner.dumpAsText(true); | 45 testRunner.dumpAsTextWithPixelResults(); |
46 } | 46 } |
47 } | 47 } |
48 window.addEventListener('load', doTest, false); | 48 window.addEventListener('load', doTest, false); |
49 </script> | 49 </script> |
50 <body> | 50 <body> |
51 <div id="root"></div> | 51 <div id="root"></div> |
52 <div class="positioned indicator"></div> | 52 <div class="positioned indicator"></div> |
53 <div class="positioned layer"></div> | 53 <div class="positioned layer"></div> |
54 | 54 |
55 <pre id="layertree"></pre> | 55 <pre id="layertree"></pre> |
56 </body> | 56 </body> |
57 </html> | 57 </html> |
OLD | NEW |