Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
</head>
<body>
<input type="password" value="123456">
<script>
function runTest() {
let input = document.getElementsByTagName("input")[0];
input.focus();
input.setSelectionRange(3, 4);
document.documentElement.removeAttribute("class");
}
SimpleTest.waitForFocus(runTest);
</script>
</body>
</html>