gecko-dev/layout/reftests/css-ui-invalid/default-style/select-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();">
<select id='e' onfocus="document.documentElement.className='';"></select>
</body>
</html>