mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-12-25 06:29:21 +00:00
28 lines
606 B
HTML
28 lines
606 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();
|
|
}
|
|
function finish() {
|
|
setTimeout(function() {
|
|
document.documentElement.removeAttribute("class");
|
|
}, 0);
|
|
}
|
|
</script>
|
|
<body onload="setTimeout(test, 0)">
|
|
<input value="text text text text text"
|
|
onfocus="this.select(); finish();">
|
|
</body>
|
|
</html>
|