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

24 lines
525 B
HTML
Raw Normal View History

<!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>