summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/append-image-using-illegal-map.html
blob: c78e74eeed7b6dfee3b267c4b81bd2f511923de9 (plain)
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<map name="map1"><button><li>xyz</li></button></map>
<script>
 const image = document.createElement('img');
 image.setAttribute('src', 'exists.gif');
 image.setAttribute('usemap', '#map1');
 document.documentElement.appendChild(image);
</script>