summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1348851.html
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 05:27:56 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 05:27:56 -0400
commitef689a705ffdd79cdeeca8e68438b4ad6597f38d (patch)
treeb349fdaf9a8a6e5ef95214d9260417ec6cff5d81 /editor/libeditor/crashtests/1348851.html
parent091d06b43b294390a96106e57a7462f6303107a3 (diff)
downloadUXP-ef689a705ffdd79cdeeca8e68438b4ad6597f38d.tar
UXP-ef689a705ffdd79cdeeca8e68438b4ad6597f38d.tar.gz
UXP-ef689a705ffdd79cdeeca8e68438b4ad6597f38d.tar.lz
UXP-ef689a705ffdd79cdeeca8e68438b4ad6597f38d.tar.xz
UXP-ef689a705ffdd79cdeeca8e68438b4ad6597f38d.zip
Bug 1348851 - Use new block when better selection isn't found.
Tag #1375
Diffstat (limited to 'editor/libeditor/crashtests/1348851.html')
-rw-r--r--editor/libeditor/crashtests/1348851.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1348851.html b/editor/libeditor/crashtests/1348851.html
new file mode 100644
index 000000000..d618f049e
--- /dev/null
+++ b/editor/libeditor/crashtests/1348851.html
@@ -0,0 +1,19 @@
+<!DOCTYPE>
+<html>
+<head>
+<meta charset="UTF-8">
+<script>
+function boom(){
+ document.designMode = "on";
+ document.execCommand("insertlinebreak");
+ document.designMode = "off";
+ document.designMode = "on";
+ document.execCommand("insertunorderedlist");
+}
+addEventListener("DOMContentLoaded", boom);
+</script>
+</head>
+<body style="display:flex;">
+<!--comment-->
+</body>
+</html>