mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
15 lines
348 B
HTML
15 lines
348 B
HTML
|
<!DOCTYPE html>
|
||
|
<html class="reftest-wait">
|
||
|
<body>
|
||
|
<input onfocus="focused()" autofocus>
|
||
|
<script>
|
||
|
function focused() {
|
||
|
var i = document.querySelector("input");
|
||
|
i.style.display = "block";
|
||
|
document.offsetWidth;
|
||
|
document.documentElement.removeAttribute("class");
|
||
|
}
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|