summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1663725.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/crashtests/1663725.html')
-rw-r--r--editor/libeditor/crashtests/1663725.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1663725.html b/editor/libeditor/crashtests/1663725.html
new file mode 100644
index 0000000000..28bed36d5c
--- /dev/null
+++ b/editor/libeditor/crashtests/1663725.html
@@ -0,0 +1,13 @@
+<script>
+window.onload = () => {
+ document.execCommand("insertHorizontalRule", false)
+ window.getSelection().collapse(b)
+ document.execCommand("forwardDelete", false)
+}
+function go() {
+ document.getSelection().setPosition(a)
+}
+</script>
+<pre id="a">
+<time contenteditable>a|</t>
+<input id="b" onfocus="go()" autofocus onblur="go()">