summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/replaced/image-map-alt-content-crash.html
blob: eb19061dfb6bbbf9025f5c757e93754b4ce48407 (plain)
1
2
3
4
5
6
7
8
9
10
<a onmouseover="var img=document['mapimage'];img.src=img.lowsrc?img.lowsrc:img.getAttribute?img.getAttribute('lowsrc'):img.src;">
		<img alt="alt text" width="850" usemap="#map" name="mapimage">
<map name="map"><area shape="rect" coords="60,60,100,100"></map>
<p>crbug.com/482214: Don't crash when hit testing while moving across a broken image that contains an image map.</p>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    eventSender.mouseMoveTo(50, 50);
}
</script>