We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
editing/crashtests
1 parent ca76938 commit ee47673Copy full SHA for ee47673
editing/crashtests/insert-nodes-into-meta-element.html
@@ -0,0 +1,27 @@
1
+<!doctype html>
2
+<html>
3
+<head>
4
+<meta charset="utf-8">
5
+<script>
6
+"use strict";
7
+
8
+document.addEventListener("DOMContentLoaded", () => {
9
+ document.getElementById("meta").appendChild(
10
+ document.getElementById("br").parentNode.removeChild(
11
+ document.getElementById("br")
12
+ )
13
+ );
14
15
+ document.getElementById("ruby").cloneNode(true)
16
17
+ document.getElementById("meta").insertBefore(
18
+ document.getElementById("br"), // should be null
19
+ undefined
20
21
+});
22
+</script>
23
+</head><body contenteditable="true">
24
+<meta id="meta">
25
+<br id="br">
26
+<ruby id="ruby" contenteditable="false">
27
+</ruby></body></html>
0 commit comments