gecko-dev/editor/reftests/selection_visibility_after_...

15 строки
296 B
HTML
Исходник Обычный вид История

<!DOCTYPE html>
<html>
<body>
<input value="foo">
<script>
var i = document.querySelector("input");
i.selectionStart = 1;
i.selectionEnd = 2;
i.style.display = "none";
document.body.clientHeight;
i.style.display = "";
</script>
</body>
</html>