blob: 9d22e647b7af3c3c84ab728573a50f2df0bdd917 [file] [log] [blame]
<head>
</head>
<img id="image" height="100" width="100" src="" usemap="#map">
<map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0" href="javascript:void(document.getElementById('result').innerHTML='PASS: Area clicked.')"></map>
<p>crbug.com/466116: Image maps not working when alt content displayed. Click on the rectangle to test. </p>
<div id="result">FAIL: Area not clicked.</div>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
eventSender.mouseMoveTo(50, 50);
eventSender.mouseDown();
eventSender.mouseUp();
}
</script>