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