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