1
0
Fork 0
firefox/testing/web-platform/tests/editing/crashtests/set-selection-range-after-updating-textarea-default-value.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

16 lines
385 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
addEventListener("load", () => {
const textarea = document.createElement("textarea");
document.documentElement.appendChild(textarea);
textarea.focus();
textarea.dir = "rtl";
textarea.prepend("0123456789A", document.createElement("marquee"));
textarea.setSelectionRange(8, 13, "");
});
</script>
</head>
</html>