gecko-dev/layout/reftests/css-submit-invalid/default-style/input-submit.html

22 строки
402 B
HTML

<!DOCTYPE>
<html class="reftest-wait">
<style>
input:invalid {
display: none;
}
</style>
<script>
function onloadHandler()
{
document.getElementById('e').setCustomValidity('foo');
document.documentElement.className='';
}
</script>
<body onload="onloadHandler();">
<form>
<input id='e'>
<input type='submit'>
</form>
</body>
</html>