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

Side by Side Diff: Source/web/tests/data/test_touch_link_highlight.html

Issue 15663005: Expand tap highlight to allow multiple highlights for touch disambiguation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « Source/web/tests/LinkHighlightTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <a href="http://www.test.com" style="position: absolute; left: 20px; top: 20 px; width: 200px;">A link to highlight</a> 3 <a href="http://www.test.com" style="position: absolute; left: 20px; top: 20 px; width: 200px;">A link to highlight</a>
4 <div style="background-color: white; position: absolute; left: 20px; top: 40 px; width: 200px; height: 30px; -webkit-transform:translateZ(0);"> 4 <div style="background-color: white; position: absolute; left: 20px; top: 40 px; width: 200px; height: 30px; -webkit-transform:translateZ(0);">
5 <p id="innerDiv">Not a link to click.</p> 5 <p id="innerDiv">Not a link to click.</p>
6 </div> 6 </div>
7 <div style="background-color: white; position: absolute; left: 20px; top: 10 0px; width: 200px; height: 100px; overflow-y: scroll; overflow-x : scroll;"> 7 <div style="background-color: white; position: absolute; left: 20px; top: 10 0px; width: 200px; height: 100px; overflow-y: scroll; overflow-x : scroll;">
8 <a href="http://www.test.com">Another link to click</a><br> 8 <a href="http://www.test.com">Another link to click</a><br>
9 Some stuff.<br> 9 Some stuff.<br>
10 Some stuff.<br> 10 Some stuff.<br>
(...skipping 11 matching lines...) Expand all
22 Some stuff.<br> 22 Some stuff.<br>
23 Some stuff.<br> 23 Some stuff.<br>
24 Some stuff.<br> 24 Some stuff.<br>
25 Some stuff.<br> 25 Some stuff.<br>
26 </div> 26 </div>
27 <!-- Don't highlight if no hand cursor. --> 27 <!-- Don't highlight if no hand cursor. -->
28 <a href="http://www.test.com" style="position: absolute; left: 20px; top: 22 0px; width: 200px; cursor: crosshair;">A link to *not* highlight</a> 28 <a href="http://www.test.com" style="position: absolute; left: 20px; top: 22 0px; width: 200px; cursor: crosshair;">A link to *not* highlight</a>
29 <div style="position: absolute; left: 20px; top: 260px; width: 200px;"> 29 <div style="position: absolute; left: 20px; top: 260px; width: 200px;">
30 <input type="text"> <!-- This will have an I-beam cursor. --> 30 <input type="text"> <!-- This will have an I-beam cursor. -->
31 </div> 31 </div>
32 <a href="http://www.test.com" style="position: absolute; left: 20px; top: 30 0px; width: 400px;">One link to highlight</a>
33 <a href="http://www.test.com" style="position: absolute; left: 20px; top: 32 0px; width: 400px;">Another link to highlight simultaneously</a>
32 <!-- The following is the text for the iframe tag below: 34 <!-- The following is the text for the iframe tag below:
33 <html> 35 <html>
34 <body> 36 <body>
35 <a href="http://www.test.com" position: absolute; left: 50px; top: 30px> 37 <a href="http://www.test.com" position: absolute; left: 50px; top: 30px>
36 This is going to be a very long link to force the scrollbars to activate on the iFrame that will contain this page. 38 This is going to be a very long link to force the scrollbars to activate on the iFrame that will contain this page.
37 </a> 39 </a>
38 </body> 40 </body>
39 </html> 41 </html>
40 --> 42 -->
41 <!-- 43 <!--
42 <iframe style="scrolling: yes; width : 400px; height : 100px; position: abso lute; left: 20px; top: 210px;" 44 <iframe style="scrolling: yes; width : 400px; height : 100px; position: abso lute; left: 20px; top: 210px;"
43 src="data:text/html,%3Chtml%3E%0A%3Cbody%3E%0A%3Ca%20href%3D%22http%3A%2F%2 Fwww.test.com%22%20position%3A%20absolute%3B%20left%3A%2050px%3B%20top%3A%2030px %3E%0AThis%20is%20going%20to%20be%20a%20very%20long%20link%20to%20force%20the%20 scrollbars%20to%20activate%20on%20the%20iFrame%20that%20will%20contain%20this%20 page.%0A%3C%2Fa%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E"></iframe> 45 src="data:text/html,%3Chtml%3E%0A%3Cbody%3E%0A%3Ca%20href%3D%22http%3A%2F%2 Fwww.test.com%22%20position%3A%20absolute%3B%20left%3A%2050px%3B%20top%3A%2030px %3E%0AThis%20is%20going%20to%20be%20a%20very%20long%20link%20to%20force%20the%20 scrollbars%20to%20activate%20on%20the%20iFrame%20that%20will%20contain%20this%20 page.%0A%3C%2Fa%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E"></iframe>
44 --> 46 -->
45 </body> 47 </body>
46 </html> 48 </html>
OLDNEW
« no previous file with comments | « Source/web/tests/LinkHighlightTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698