gecko-dev/layout/reftests/reftest-sanity/needs-focus.html

15 строки
318 B
HTML
Исходник Обычный вид История

<!DOCTYPE html>
<html class="reftest-wait">
<script type="text/javascript">
function focusInput() {
document.getElementById('i').focus();
}
function done() {
document.documentElement.className = '';
}
</script>
<body onload="focusInput();">
<input type="text" id="i" onfocus="done();">
</body>
</html>