зеркало из https://github.com/mozilla/pjs.git
15 строки
348 B
HTML
15 строки
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>
|