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