diff options
Diffstat (limited to 'testing/web-platform/tests/accessibility/crashtests/map-inside-map-2.html')
-rw-r--r-- | testing/web-platform/tests/accessibility/crashtests/map-inside-map-2.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/accessibility/crashtests/map-inside-map-2.html b/testing/web-platform/tests/accessibility/crashtests/map-inside-map-2.html new file mode 100644 index 0000000000..14ec36c99c --- /dev/null +++ b/testing/web-platform/tests/accessibility/crashtests/map-inside-map-2.html @@ -0,0 +1,11 @@ +<html> + <img usemap="map2" class="img-outside-map"> + <map name="map2"></map> + <script> + const img = document.createElement('img'); + img.className = 'img-inside-map'; + img.setAttribute('usemap', '#map2'); + img.style.visibility = 'collapse'; + document.querySelector('map').appendChild(img); + </script> +</html> |