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

Side by Side Diff: third_party/WebKit/LayoutTests/images/image-map-multiple.html

Issue 2648163002: Remove case-insensitive matching of usemap attribute. (Closed)
Patch Set: _ Created 3 years, 10 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 <script> 1 <script>
2 2
3 var test = 1; 3 var test = 1;
4 var map1; 4 var map1;
5 var map2; 5 var map2;
6 var map3; 6 var map3;
7 7
8 function setResult(result) 8 function setResult(result)
9 { 9 {
10 var message = "FAIL: Unexpected result: " + result; 10 var message = "FAIL: Unexpected result: " + result;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 testRunner.dumpAsText(); 62 testRunner.dumpAsText();
63 eventSender.mouseMoveTo(50, 50); 63 eventSender.mouseMoveTo(50, 50);
64 for (var click = 0; click < numClicks; ++click) { 64 for (var click = 0; click < numClicks; ++click) {
65 eventSender.mouseDown(); 65 eventSender.mouseDown();
66 eventSender.mouseUp(); 66 eventSender.mouseUp();
67 } 67 }
68 } 68 }
69 69
70 </script> 70 </script>
71 <body onload="runTest()"> 71 <body onload="runTest()">
72 <map name="mapName"><area shape=rect coords="0,0,100,100" onclick="setResult('1' )"></map> 72 <map name="mapname"><area shape=rect coords="0,0,100,100" onclick="setResult('1' )"></map>
73 <map name="mapname"><area shape=rect coords="0,0,100,100" onclick="setResult('2' )"></map> 73 <map name="mapname"><area shape=rect coords="0,0,100,100" onclick="setResult('2' )"></map>
74 <map name="mapname"><area shape=rect coords="0,0,100,100" onclick="setResult('3' )"></map> 74 <map name="mapname"><area shape=rect coords="0,0,100,100" onclick="setResult('3' )"></map>
75 <img src="resources/green.jpg" border=20 width=100 height=100 usemap="#mapname" ismap onclick="setResult('img')"> 75 <img src="resources/green.jpg" border=20 width=100 height=100 usemap="#mapname" ismap onclick="setResult('img')">
76 <div>This tests image map behavior when there are multiple maps with the same na me.</div> 76 <div>This tests image map behavior when there are multiple maps with the same na me.</div>
77 <pre id="log"></pre> 77 <pre id="log"></pre>
78 </body> 78 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698