diff options
Diffstat (limited to '')
-rw-r--r-- | editor/libeditor/crashtests/1645983-2.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1645983-2.html b/editor/libeditor/crashtests/1645983-2.html new file mode 100644 index 0000000000..aee3833bf9 --- /dev/null +++ b/editor/libeditor/crashtests/1645983-2.html @@ -0,0 +1,7 @@ +<!doctype html> +<div contenteditable>abc<span></span><span></span></div> +<script> +let editor = document.querySelector("div[contenteditable]"); +getSelection().collapse(editor, 3); +document.execCommand("inserttext", false, " "); +</script> |