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

Side by Side Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-1-iframe-scrolled-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 <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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698