diff options
Diffstat (limited to 'testing/web-platform/tests/accessibility/crashtests/aria-hidden-with-select.html')
-rw-r--r-- | testing/web-platform/tests/accessibility/crashtests/aria-hidden-with-select.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/accessibility/crashtests/aria-hidden-with-select.html b/testing/web-platform/tests/accessibility/crashtests/aria-hidden-with-select.html new file mode 100644 index 0000000000..2aedbcfb82 --- /dev/null +++ b/testing/web-platform/tests/accessibility/crashtests/aria-hidden-with-select.html @@ -0,0 +1,25 @@ +<html class="test-wait"> +<head> +<script> +window.onload = function() { + requestAnimationFrame(() => { + requestAnimationFrame(() => { + document.querySelector('#will-hide').ariaHidden = 'true'; + document.documentElement.className = ''; + }); + }); +}; +</script> +</head> +<body> +<main> + <div id="will-hide"> + <div class="ignored"> + <select id="select"> + <option>1</option> + </select> + </div> + </div> +</main> +</body> +</html> |