OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body onload="runTest();"> | 6 <body onload="runTest();"> |
7 <div style="-webkit-transform: translateZ(0); position: relative; left: 10px; to
p: 40px"> | 7 <div style="-webkit-transform: translateZ(0); position: relative; left: 10px; to
p: 40px"> |
8 <div style="position: relative; left: 10px; top: 70px"> | 8 <div style="position: relative; left: 10px; top: 70px"> |
9 This test is successful if no transparent green rectangles are visible. | 9 This test is successful if no transparent green rectangles are visible. |
10 </div> | 10 </div> |
11 <script> | 11 <script> |
12 function runTest() { | 12 function runTest() { |
13 if (window.testRunner) { | 13 if (window.testRunner) { |
14 window.testRunner.dumpAsText(true); | 14 window.testRunner.dumpAsTextWithPixelResults(); |
15 window.testRunner.notifyDone(); | 15 window.testRunner.notifyDone(); |
16 } else { | 16 } else { |
17 debug("This test requires DumpRenderTree."); | 17 debug("This test requires DumpRenderTree."); |
18 } | 18 } |
19 } | 19 } |
20 </script> | 20 </script> |
21 </body> | 21 </body> |
22 </html> | 22 </html> |
OLD | NEW |