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

22 lines
419 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'>
<button type='submit'>Submit!</button>
</form>
</body>
</html>