2 .img { content: attr(blank); width:
100px; height:
100px;}
4 <img src=
"" usemap=
"#map" class=
"img">
5 <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>
6 <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>
7 <div id=
"result">FAIL: Area not clicked.
</div>
9 if (window
.testRunner
) {
10 testRunner
.dumpAsText();
11 eventSender
.mouseMoveTo(50, 50);
12 eventSender
.mouseDown();
13 eventSender
.mouseUp();