| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/mock_scrollbars.js"></script> | 4 <script src="resources/mock_scrollbars.js"></script> |
| 5 <script type="text/javascript" charset="utf-8"> | 5 <script type="text/javascript" charset="utf-8"> |
| 6 | 6 |
| 7 if (window.testRunner) { | 7 if (window.testRunner) { |
| 8 testRunner.waitUntilDone(); | 8 testRunner.waitUntilDone(); |
| 9 testRunner.dumpAsText(true); // This is only useful as a pixel test. | 9 testRunner.dumpAsTextWithPixelResults(); // This is only useful as a pixel t
est. |
| 10 } | 10 } |
| 11 | 11 |
| 12 function doTest() | 12 function doTest() |
| 13 { | 13 { |
| 14 div = document.getElementById("div"); | 14 div = document.getElementById("div"); |
| 15 if (window.testRunner) | 15 if (window.testRunner) |
| 16 testRunner.display(); | 16 testRunner.display(); |
| 17 window.setTimeout(function() { | 17 window.setTimeout(function() { |
| 18 div.style.height = "1600px"; | 18 div.style.height = "1600px"; |
| 19 if (window.testRunner) | 19 if (window.testRunner) |
| 20 testRunner.notifyDone(); | 20 testRunner.notifyDone(); |
| 21 }, 0); | 21 }, 0); |
| 22 } | 22 } |
| 23 | 23 |
| 24 window.addEventListener('load', doTest, false); | 24 window.addEventListener('load', doTest, false); |
| 25 </script> | 25 </script> |
| 26 | 26 |
| 27 </head> | 27 </head> |
| 28 <body> | 28 <body> |
| 29 <div id="div"> | 29 <div id="div"> |
| 30 <img id="image" src="resources/apple.jpg" style="-webkit-transform: translat
eZ(0);"> | 30 <img id="image" src="resources/apple.jpg" style="-webkit-transform: translat
eZ(0);"> |
| 31 </div> | 31 </div> |
| 32 </body> | 32 </body> |
| 33 </html> | 33 </html> |
| OLD | NEW |