summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/included-descendant-layout-removal.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/accessibility/crashtests/included-descendant-layout-removal.html')
-rw-r--r--testing/web-platform/tests/accessibility/crashtests/included-descendant-layout-removal.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/accessibility/crashtests/included-descendant-layout-removal.html b/testing/web-platform/tests/accessibility/crashtests/included-descendant-layout-removal.html
new file mode 100644
index 0000000000..5270a36351
--- /dev/null
+++ b/testing/web-platform/tests/accessibility/crashtests/included-descendant-layout-removal.html
@@ -0,0 +1,28 @@
+<html class="test-wait">
+<head>
+<script>
+window.onload = function() {
+ requestAnimationFrame(() => {
+ requestAnimationFrame(() => {
+ document.querySelector('svg').style.display = 'contents';
+ document.documentElement.className = '';
+ });
+ });
+};
+</script>
+</head>
+<body>
+<div role="group" class="group">
+ <div class="ignored1">
+ <div class="ignored2">
+ <div class="ignored3">
+ <svg role="none"> <!-- Ignored -->
+ <g id="foo"></g> <!-- Ignored but included in tree -->
+ <circle cx="10" cy="10" r="5" />
+ </svg>
+ </div>
+ </div>
+ </div>
+</div>
+</body>
+</html>