2edc91f4eab04579bd26fd98a41adb5938c672d6
[WebKit-https.git] / LayoutTests / fast / replaced / image-map.html
1 <head>
2 <script>
3 function test() {
4     if (window.layoutTestController) {
5         layoutTestController.dumpAsText();
6         eventSender.mouseMoveTo(50, 50);
7         eventSender.mouseDown();
8         eventSender.mouseUp();
9     }
10 }
11 </script>
12 </head>
13 <body onload="test()">
14 <img id="image" height="100" width="100" src="resources/square-blue-100x100.png" usemap="#map">
15 <map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0" href="javascript:document.getElementById('result').innerHTML='area clicked'"></map>
16 <div id="result">no area click seen yet</div>
17 </body>