trisquel-icecat/icecat/testing/web-platform/tests/editing/crashtests/set-selection-range-after-updating-textarea-default-value.html

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>