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 23 matching lines...) Expand all Loading... |
34 position: absolute; | 34 position: absolute; |
35 top: 10000px; | 35 top: 10000px; |
36 left: 0px; | 36 left: 0px; |
37 } | 37 } |
38 </style> | 38 </style> |
39 <script> | 39 <script> |
40 function doTest() { | 40 function doTest() { |
41 if (window.testRunner) { | 41 if (window.testRunner) { |
42 if (top == self) | 42 if (top == self) |
43 document.getElementById('layertree').innerText = window.internal
s.layerTreeAsText(document); | 43 document.getElementById('layertree').innerText = window.internal
s.layerTreeAsText(document); |
44 testRunner.dumpAsText(true); | 44 testRunner.dumpAsTextWithPixelResults(); |
45 } | 45 } |
46 } | 46 } |
47 window.addEventListener('load', doTest, false); | 47 window.addEventListener('load', doTest, false); |
48 </script> | 48 </script> |
49 <body> | 49 <body> |
50 <div id="root"></div> | 50 <div id="root"></div> |
51 <div class="positioned indicator"></div> | 51 <div class="positioned indicator"></div> |
52 <div class="positioned layer"></div> | 52 <div class="positioned layer"></div> |
53 | 53 |
54 <pre id="layertree"></pre> | 54 <pre id="layertree"></pre> |
55 </body> | 55 </body> |
56 </html> | 56 </html> |
OLD | NEW |