Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / images / imagemap-case.html
blobc47d372759f4951a063992f48e5d219f212b78f8
1 <!DOCTYPE HTML>
2 <html>
3 <body>
4 <map name="navMap">
5 <area shape=rect coords="0,0,100,100" href onclick="document.getElementById('res1').innerHTML = 'success';return false;">
6 </map>
7 <img border=2 width=100 height=100 usemap=#navmap ismap>
9 <br>
11 <map name="navmap2">
12 <area shape=rect coords="0,0,100,100" href onclick="document.getElementById('res2').innerHTML = 'success';return false;">
13 </map>
14 <img border=2 width=100 height=100 usemap=#navMap2 ismap>
16 <div id=res1></div>
17 <div id=res2></div>
19 <script>
20 if (window.eventSender) {
21 eventSender.mouseMoveTo(50, 50);
22 eventSender.mouseDown();
23 eventSender.mouseUp();
24 eventSender.mouseMoveTo(50, 150);
25 eventSender.mouseDown();
26 eventSender.mouseUp();
28 </script>