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

14 lines
329 B
HTML
Raw Normal View History

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