gecko-dev/layout/reftests/css-ui-invalid/default-style/button-focus.html

14 строки
339 B
HTML

<!DOCTYPE>
<html class="reftest-wait">
<script>
function onloadHandler()
{
document.getElementById('e').setCustomValidity('foo');
document.getElementById('e').focus();
}
</script>
<body onload="onloadHandler();">
<button id='e' onfocus="document.documentElement.className='';"></button>
</body>
</html>