Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /editing/crashtests/normalize_document_at_DOMSubtreeModified_during_insertparagraph.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
addEventListener("load", () => {
document.documentElement.innerHTML = "<main>\n>";
document.addEventListener("DOMSubtreeModified", () => {
document.normalize();
}, {capture: true});
document.designMode = "on"
document.execCommand("insertParagraph");
});
</script>
</head>
</html>