summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1547897.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--editor/libeditor/crashtests/1547897.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1547897.html b/editor/libeditor/crashtests/1547897.html
new file mode 100644
index 0000000000..bf5c81060a
--- /dev/null
+++ b/editor/libeditor/crashtests/1547897.html
@@ -0,0 +1,17 @@
+<html>
+<head>
+ <script>
+ function start () {
+ const selection = window.getSelection()
+ selection.setPosition(hr, 0)
+ document.execCommand('delete', false)
+ }
+ </script>
+<body onload="start()">
+<p id="" hidden="">
+ <canvas id="" contenteditable="">
+ <hr id="hr" contenteditable="true">
+ 3uW4*</hr></canvas>
+</p>
+</body>
+</html>