1
0
Fork 0
firefox/testing/web-platform/tests/editing/crashtests/delete-after-empty-script-element.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

19 lines
378 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
A
<script>
addEventListener("load", () => {
document.documentElement.contentEditable = true;
getSelection().collapse(document.body.lastChild, document.body.lastChild.length);
document.execCommand("delete");
});
</script>
<li>
<form readonly contenteditable>
</form>
<script>
</script></li></body></html>