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

Side by Side Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div-scrolled-expected.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months 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
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="../../compositing/overflow/resources/automatically-opt-into-com posited-scrolling.js"></script> 5 <script src="../../compositing/overflow/resources/automatically-opt-into-com posited-scrolling.js"></script>
6 <script> 6 <script>
7 function runTest() { 7 function runTest() {
8 var targetDiv = document.getElementById('targetDiv'); 8 var targetDiv = document.getElementById('targetDiv');
9 targetDiv.scrollTop += 20; 9 targetDiv.scrollTop += 20;
10 10
11 var highlight = createCompositedHighlight(document.getElementById('targe tLink')); 11 var highlight = createCompositedHighlight(document.getElementById('targe tLink'));
12 12
13 if (window.testRunner) { 13 if (window.testRunner) {
14 testRunner.dumpAsTextWithPixelResults(); 14 testRunner.dumpAsTextWithPixelResults();
15 } 15 }
16 } 16 }
17 </script> 17 </script>
18 <script src="resources/link-highlight-helper.js"></script> 18 <script src="resources/link-highlight-helper.js"></script>
19 </head> 19 </head>
20 <body onload="runTest();"> 20 <body onload="runTest();">
21 <div style="-webkit-transform: translateZ(0); position: relative; left: 10px ; top: 10px"></div> 21 <div style="transform: translateZ(0); position: relative; left: 10px; top: 1 0px"></div>
22 <div id="targetDiv" style="position: relative; left: 10px; top: 40px; width: 200px; height: 100px; overflow-y: scroll; overflow-x: scroll;"> 22 <div id="targetDiv" style="position: relative; left: 10px; top: 40px; width: 200px; height: 100px; overflow-y: scroll; overflow-x: scroll;">
23 <a href="">Link 1</a><br> 23 <a href="">Link 1</a><br>
24 <a href="">Link 2</a><br> 24 <a href="">Link 2</a><br>
25 <a href="">Link 3</a><br> 25 <a href="">Link 3</a><br>
26 <a href="" class="activeLink" id="targetLink">Target Link.</a><br> 26 <a href="" class="activeLink" id="targetLink">Target Link.</a><br>
27 <a href="">Link 4</a><br> 27 <a href="">Link 4</a><br>
28 <a href="">Link 5</a><br> 28 <a href="">Link 5</a><br>
29 </div> 29 </div>
30 <div style="position: relative; left: 10px; top: 80px"> 30 <div style="position: relative; left: 10px; top: 80px">
31 This test is successful if "Target Link" above is covered in a green 31 This test is successful if "Target Link" above is covered in a green
32 rectangle with square corners and the list is partially scrolled. 32 rectangle with square corners and the list is partially scrolled.
33 </div> 33 </div>
34 <div id="result"></div> 34 <div id="result"></div>
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698