summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/move-owned-inside-another-owned.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/accessibility/crashtests/move-owned-inside-another-owned.html')
-rw-r--r--testing/web-platform/tests/accessibility/crashtests/move-owned-inside-another-owned.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/accessibility/crashtests/move-owned-inside-another-owned.html b/testing/web-platform/tests/accessibility/crashtests/move-owned-inside-another-owned.html
new file mode 100644
index 0000000000..babe8dcd1d
--- /dev/null
+++ b/testing/web-platform/tests/accessibility/crashtests/move-owned-inside-another-owned.html
@@ -0,0 +1,13 @@
+<script>
+window.onload = function() {
+ // Reparent z1 under z2.
+ const z2 = document.getElementById('z2');
+ z2.appendChild(document.querySelector('#z1'));
+}
+</script>
+<div aria-owns="z1 z2">
+ <progress>
+ <div id="z1"></div>
+ <div id="z2"></div>
+ </progress>
+</div>