Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Side by Side Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-1-iframe-composited-scrolled-clipped-expected.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 </head> 5 </head>
6 <body onLoad="runTest();"> 6 <body onLoad="runTest();">
7 <iframe id="targetFrame" src="resources/1-frame-composited-expected.html" style= "position: relative; left: 10px; top: 10px; width: 400px; height: 150px;"></ifra me> 7 <iframe id="targetFrame" src="resources/1-frame-composited-expected.html" style= "position: relative; left: 10px; top: 10px; width: 400px; height: 150px;"></ifra me>
8 <div style="position: relative; left: 10px; top: 20px;"> 8 <div style="position: relative; left: 10px; top: 20px;">
9 This test is successful if "Target Link" is scrolled barely out of view ("Link 4 " is at the top of the frame) 9 This test is successful if "Target Link" is scrolled barely out of view ("Link 4 " is at the top of the frame)
10 and the green box with rounded rectangles is not visible. 10 and the green box with rounded rectangles is not visible.
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, 90); 15 document.getElementById("targetFrame").contentWindow.scrollTo(0, 90);
16 testRunner.dumpAsTextWithPixelResults(); 16 testRunner.dumpAsTextWithPixelResults();
17 } 17 }
18 } 18 }
19 </script> 19 </script>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698