diff options
Diffstat (limited to 'editor/libeditor/crashtests/1525481.html')
-rw-r--r-- | editor/libeditor/crashtests/1525481.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1525481.html b/editor/libeditor/crashtests/1525481.html new file mode 100644 index 0000000000..4782609603 --- /dev/null +++ b/editor/libeditor/crashtests/1525481.html @@ -0,0 +1,19 @@ +<script> +function go() { + document.execCommand("styleWithCSS", false, true) + document.execCommand("delete", false) + a.addEventListener("DOMNodeRemoved", function() { + var c = window.getSelection() + var d = document.createRange() + d.setEndAfter(b) + c.addRange(d) + c.deleteFromDocument() + }) + document.execCommand("outdent", false) +} +</script> +<body onload=go()> +<ul id="a" contenteditable="true" style="margin: -1px 0px 1px 6px"> +<dd></dd> +<dd> +<button id="b">
\ No newline at end of file |