OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 | 5 |
6 .composited { | 6 .composited { |
7 -webkit-transform:translatez(0); | 7 -webkit-transform:translatez(0); |
8 } | 8 } |
9 | 9 |
10 .box { | 10 .box { |
(...skipping 29 matching lines...) Expand all Loading... |
40 top: 0px; | 40 top: 0px; |
41 } | 41 } |
42 | 42 |
43 body { | 43 body { |
44 overflow: hidden; | 44 overflow: hidden; |
45 } | 45 } |
46 | 46 |
47 </style> | 47 </style> |
48 <script> | 48 <script> |
49 if (window.testRunner) { | 49 if (window.testRunner) { |
50 testRunner.dumpAsText(true); | 50 testRunner.dumpAsTextWithPixelResults(); |
51 testRunner.waitUntilDone(); | 51 testRunner.waitUntilDone(); |
52 } | 52 } |
53 | 53 |
54 window.addEventListener('load', function() { | 54 window.addEventListener('load', function() { |
55 if (window.testRunner) { | 55 if (window.testRunner) { |
56 document.getElementById("layertree").innerText = window.internals.la
yerTreeAsText(document); | 56 document.getElementById("layertree").innerText = window.internals.la
yerTreeAsText(document); |
57 testRunner.notifyDone(); | 57 testRunner.notifyDone(); |
58 } | 58 } |
59 }, false); | 59 }, false); |
60 </script> | 60 </script> |
61 | 61 |
62 </head> | 62 </head> |
63 | 63 |
64 <body> | 64 <body> |
65 <!-- This red div should be completely underneath the green div --> | 65 <!-- This red div should be completely underneath the green div --> |
66 <div class="composited red box behind"> </div> | 66 <div class="composited red box behind"> </div> |
67 | 67 |
68 <!-- This lime colored div should correctly detect overlap and become composit
ed. --> | 68 <!-- This lime colored div should correctly detect overlap and become composit
ed. --> |
69 <div class="lime box ontop"> </div> | 69 <div class="lime box ontop"> </div> |
70 | 70 |
71 <pre id="layertree"></pre> | 71 <pre id="layertree"></pre> |
72 </body> | 72 </body> |
73 | 73 |
74 </html> | 74 </html> |
OLD | NEW |