<!DOCTYPE html>
<body>
<script src="../../../resources/js-test-pre.js"></script> 
<a href="javascript:">foo<img ismap style="content:'bar'; display:block;"></a>
<script>
document.getElementsByTagName('img')[0].click();
testPassed('if not crashed.');
</script>
<script src="../../../resources/js-test-post.js"></script> 
</body>
