summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/selection/selection-select-all-move-input-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/selection/selection-select-all-move-input-crash.html')
-rw-r--r--testing/web-platform/tests/selection/selection-select-all-move-input-crash.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/selection/selection-select-all-move-input-crash.html b/testing/web-platform/tests/selection/selection-select-all-move-input-crash.html
new file mode 100644
index 0000000000..6f692dc5e7
--- /dev/null
+++ b/testing/web-platform/tests/selection/selection-select-all-move-input-crash.html
@@ -0,0 +1,10 @@
+<script>
+ function start() {
+ document.execCommand('selectAll', false)
+ document.documentElement.appendChild(document.getElementById('input'))
+ }
+</script>
+<body onload="start()">
+<input id="input" autofocus>
+<canvas contenteditable="true" hidden></canvas>
+</body>