1
0
Fork 0
firefox/testing/web-platform/tests/selection/crashtests/selection-modify-line-next-to-textarea.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

25 lines
530 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
addEventListener("load", () => {
getSelection().collapse(document.querySelector("header"), 1);
getSelection().modify("move", "backward", "line");
const ruby = document.querySelector("ruby");
ruby.parentElement.replaceChild(document.createElement("h3"), ruby);
getSelection().modify("extend", "backward", "character");
});
</script>
</head>
<body>
<textarea>
</textarea>
<abbr>
<header>
<select autofocus='false'>
<input/>
<sup>
<ruby id='a'>
</body>
</html>