gecko-dev/layout/reftests/css-submit-invalid/button-submit/remove-form.html

24 строки
525 B
HTML

<!DOCTYPE html>
<html class='reftest-wait'>
<head>
<style>
:-moz-submit-invalid { display: none; }
</style>
</head>
<script>
function onloadHandler()
{
document.getElementById('t').removeChild(document.forms[0]);
document.documentElement.className = '';
}
</script>
<body onload='onloadHandler();'>
<table id='t'>
<form>
<tr><td><input required></td></tr>
<tr><td><button type='submit'></button></td></tr>
</form>
</table>
</body>
</html>