summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/animated-textarea.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/accessibility/crashtests/animated-textarea.html')
-rw-r--r--testing/web-platform/tests/accessibility/crashtests/animated-textarea.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/accessibility/crashtests/animated-textarea.html b/testing/web-platform/tests/accessibility/crashtests/animated-textarea.html
new file mode 100644
index 0000000000..a23eed669c
--- /dev/null
+++ b/testing/web-platform/tests/accessibility/crashtests/animated-textarea.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<!-- This tests that the anonymous descendants of the textarea do not lose
+ their attachment to parent objects -->
+<html class="test-wait">
+<canvas>
+<textarea>
+</textarea>
+<script>
+const canvas = document.querySelector('canvas');
+const animation = canvas.animate([
+ {"listStylePosition":"outside"}, {"listStylePosition":"inside"}],
+ {"duration":100,"delay":0});
+animation.addEventListener('finish', () => {
+ document.documentElement.className = '';
+});
+</script>
+</canvas>