1
0
Fork 0
firefox/testing/web-platform/tests/accessibility/crashtests/map-inside-map.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

16 lines
616 B
HTML

<html>
<script>
const imgOutsideMap = document.createElement('img');
imgOutsideMap.className="img-outside-map";
imgOutsideMap.setAttribute('usemap', '#map2');
document.documentElement.appendChild(imgOutsideMap);
const map = document.createElement('map');
map.setAttribute('name', 'map2');
document.documentElement.appendChild(map);
const imgInsideMap = document.createElement('img');
imgInsideMap.className="img-inside-map";
imgInsideMap.setAttribute('usemap', '#map2');
imgInsideMap.style.visibility = 'collapse';
map.appendChild(imgInsideMap);
</script>
</html>