summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/1402196.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--editor/libeditor/crashtests/1402196.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/1402196.html b/editor/libeditor/crashtests/1402196.html
new file mode 100644
index 0000000000..6867d36414
--- /dev/null
+++ b/editor/libeditor/crashtests/1402196.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<script>
+function load() {
+ document.getElementById("spacer").addEventListener("DOMNodeInserted", () => {
+ document.getElementById("style").appendChild(
+ document.getElementById("table"));
+ document.documentElement.classList.remove("reftest-wait");
+ });
+ document.execCommand("insertOrderedList", false);
+}
+</script>
+</head>
+<body onload="load()">
+<table id="table"></table>
+<style id="style"></style>
+<spacer id="spacer" contenteditable="true">
+<p id="p"></p>
+</body>
+</html>