зеркало из https://github.com/mozilla/gecko-dev.git
24 строки
520 B
HTML
24 строки
520 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<style>
|
|
/* eliminate the blue glow when focusing the element. */
|
|
input {
|
|
background: none;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
</style>
|
|
<script>
|
|
function test() {
|
|
focus();
|
|
var i = document.querySelector("input");
|
|
i.focus();
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
</script>
|
|
<body onload="setTimeout(test, 0)">
|
|
<input value="text text text text text"
|
|
onfocus="this.select()">
|
|
</body>
|
|
</html>
|