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-composited.html" style="position
: relative; left: 10px; top: 10px; width: 400px; height: 150px;"></iframe> | 8 <iframe id="targetFrame" src="resources/1-frame-composited.html" style="position
: relative; left: 10px; top: 10px; width: 400px; height: 150px;"></iframe> |
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() { |
(...skipping 15 matching lines...) Expand all Loading... |
30 | 30 |
31 document.getElementById("targetFrame").contentWindow.scrollTo(0, 20); | 31 document.getElementById("targetFrame").contentWindow.scrollTo(0, 20); |
32 window.setTimeout(function() { window.testRunner.notifyDone(); }, 0); | 32 window.setTimeout(function() { window.testRunner.notifyDone(); }, 0); |
33 } else { | 33 } else { |
34 debug("This test requires DumpRenderTree."); | 34 debug("This test requires DumpRenderTree."); |
35 } | 35 } |
36 } | 36 } |
37 </script> | 37 </script> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |