1
0
Fork 0
firefox/testing/web-platform/tests/editing/crashtests/remove-editing-host-on-DOMNodeInserted-at-indent.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

24 lines
454 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
document.addEventListener("DOMContentLoaded", () => {
const editingHost = document.querySelector("h6[contenteditable]");
document.querySelector("wbr").addEventListener(
"DOMNodeInserted",
() => editingHost.remove()
);
window.find("A");
document.execCommand("indent");
})
</script>
</head>
<body>
<h6 contenteditable>
<time>
<wbr>
<main></main>
A
</time></h6></body>
</html>