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

Side by Side Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div-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 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style. css"> 4 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style. css">
5 <script src="../../fast/js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <script src="../../compositing/overflow/resources/automatically-opt-into-com posited-scrolling.js"></script> 6 <script src="../../compositing/overflow/resources/automatically-opt-into-com posited-scrolling.js"></script>
7 <script> 7 <script>
8 function runTest() { 8 function runTest() {
9 var targetDiv = document.getElementById('targetDiv'); 9 var targetDiv = document.getElementById('targetDiv');
10 targetDiv.scrollTop += 20; 10 targetDiv.scrollTop += 20;
11 11
12 var highlight = createCompositedHighlight(document.getElementById('targe tLink')); 12 var highlight = createCompositedHighlight(document.getElementById('targe tLink'));
13 13
14 if (window.testRunner) { 14 if (window.testRunner) {
15 testRunner.dumpAsTextWithPixelResults(); 15 testRunner.dumpAsTextWithPixelResults();
(...skipping 12 matching lines...) Expand all
28 <a href="">Link 4</a><br> 28 <a href="">Link 4</a><br>
29 <a href="">Link 5</a><br> 29 <a href="">Link 5</a><br>
30 </div> 30 </div>
31 <div style="position: relative; left: 10px; top: 80px"> 31 <div style="position: relative; left: 10px; top: 80px">
32 This test is successful if "Target Link" above is covered in a green 32 This test is successful if "Target Link" above is covered in a green
33 rectangle with rounded corners and the list is partially scrolled. 33 rectangle with rounded corners and the list is partially scrolled.
34 </div> 34 </div>
35 <div id="result"></div> 35 <div id="result"></div>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698