1
0
Fork 0
firefox/testing/web-platform/mozilla/tests/editor/input-setRangeText-during-noframe-crash.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

18 lines
379 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
document.addEventListener("DOMContentLoaded", () => {
const input = document.querySelector("input");
input.select();
input.type = "text/x-ecmascript";
input.setRangeText("foo", 1, 1);
document.execCommand("enableObjectResizing");
});
</script>
</head>
<body>
<input type="number" value="a">
</body>
</html>