| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body onLoad="runTest();"> | 6 <body onLoad="runTest();"> |
| 7 <iframe id="targetFrame" src="resources/1-frame-noncomposited-expected.html" sty
le="position: relative; left: 10px; top: 10px; width: 400px; height: 150px;"></i
frame> | 7 <iframe id="targetFrame" src="resources/1-frame-noncomposited-expected.html" sty
le="position: relative; left: 10px; top: 10px; width: 400px; height: 150px;"></i
frame> |
| 8 <div style="position: relative; left: 10px; top: 20px; -webkit-transform: transl
ateZ(0);"> | 8 <div style="position: relative; left: 10px; top: 20px; transform: translateZ(0);
"> |
| 9 This test is successful if "Target Link" is covered by a green box with square c
orners, | 9 This test is successful if "Target Link" is covered by a green box with square c
orners, |
| 10 and the frame is partially scrolled. | 10 and the frame is partially scrolled. |
| 11 </div> | 11 </div> |
| 12 <script> | 12 <script> |
| 13 function runTest() { | 13 function runTest() { |
| 14 if (window.testRunner) { | 14 if (window.testRunner) { |
| 15 document.getElementById("targetFrame").contentWindow.scrollTo(0, 20); | 15 document.getElementById("targetFrame").contentWindow.scrollTo(0, 20); |
| 16 testRunner.dumpAsTextWithPixelResults(); | 16 testRunner.dumpAsTextWithPixelResults(); |
| 17 } | 17 } |
| 18 } | 18 } |
| 19 </script> | 19 </script> |
| 20 </body> | 20 </body> |
| 21 </html> | 21 </html> |
| OLD | NEW |