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

Side by Side Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-img-and-text-expected.html

Issue 129643002: Fix link highlights on links that contain images. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>This test ensures all elements are highlighted in a multielement <a> when the text is clicked</title>
5 <script src="resources/link-highlight-helper.js"></script>
6 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css" >
7 </head>
8 <body onload="runTest();">
9 <div style="-webkit-transform: translateZ(0); padding: 20px;">
10 <a id="targetLink">
11 <font style="vertical-align: bottom" id="beforeTarget">Before Text</font><im g id="imgTarget" width="320" height="240" src="resources/dice.png"><font style=" vertical-align: bottom" id="afterTarget">After Text</font>
12 </a>
13 </div>
14 <script>
15 function runTest() {
16 createSquareCompositedHighlight(document.getElementById('beforeTarget'));
17 createSquareCompositedHighlight(document.getElementById('imgTarget'));
18 createSquareCompositedHighlight(document.getElementById('afterTarget'));
19
20 if (window.testRunner)
21 testRunner.dumpAsTextWithPixelResults();
22 }
23 </script>
24 </script>
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698