| <style> |
| .img { content: attr(blank); width: 100px; height: 100px;} |
| </style> |
| <img src="" usemap="#map" class="img"> |
| <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/485414: Inline content data shouldn't prevent fallback content in an image from displaying and responding to hit tests. 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> |