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

Side by Side Diff: LayoutTests/fast/images/image-map-zoom-alt-content.html

Issue 1094133004: Image maps should work for images with alt content (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/images/image-map-zoom-alt-content-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 2
3 <head> 3 <head>
4 4
5 <script> 5 <script>
6 6
7 function runTest() 7 function runTest()
8 { 8 {
9 if (!window.eventSender) 9 if (!window.eventSender)
10 return; 10 return;
(...skipping 13 matching lines...) Expand all
24 </script> 24 </script>
25 25
26 </head> 26 </head>
27 27
28 <body onload="runTest()" style="margin:0; zoom: 2" onclick="setResult('FAILURE') "> 28 <body onload="runTest()" style="margin:0; zoom: 2" onclick="setResult('FAILURE') ">
29 29
30 <map name="navmap"> 30 <map name="navmap">
31 <area shape=rect coords="30,30,70,70" href onclick="setResult('SUCCESS'); event. stopPropagation(); event.preventDefault();"> 31 <area shape=rect coords="30,30,70,70" href onclick="setResult('SUCCESS'); event. stopPropagation(); event.preventDefault();">
32 </map> 32 </map>
33 33
34 <img style="position: relative; left: 100px" border="20" width="100" height="100 " usemap="#navmap" ismap> 34 <img style="position: relative; left: 100px" border="20" width="100" height="100 " usemap="#navmap" src="no-img.png" ismap>
35 35
36 <hr> 36 <hr>
37 37
38 <p>This tests that client side image maps still work when zooming is in effect.< /p> 38 <p>This tests that client side image maps still work when zooming is in effect.< /p>
39 39
40 <div id="result">TEST NOT RUN</div> 40 <div id="result">TEST NOT RUN</div>
41 41
42 </body> 42 </body>
43 43
44 </html> 44 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/images/image-map-zoom-alt-content-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698