diff options
Diffstat (limited to 'testing/web-platform/tests/accessibility/crashtests/append-image-using-illegal-map.html')
-rw-r--r-- | testing/web-platform/tests/accessibility/crashtests/append-image-using-illegal-map.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/accessibility/crashtests/append-image-using-illegal-map.html b/testing/web-platform/tests/accessibility/crashtests/append-image-using-illegal-map.html new file mode 100644 index 0000000000..c78e74eeed --- /dev/null +++ b/testing/web-platform/tests/accessibility/crashtests/append-image-using-illegal-map.html @@ -0,0 +1,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> |