tenfourfox/layout/reftests/css-submit-invalid/input-submit/self-invalid.html

21 lines
405 B
HTML
Raw Normal View History

2017-04-19 07:56:45 +00:00
<!DOCTYPE html>
<html class='reftest-wait'>
<head>
<style>
:invalid { display: none; }
</style>
</head>
<script>
function onloadHandler()
{
document.getElementById('i').setCustomValidity('foo');
document.documentElement.className = '';
}
</script>
<body onload='onloadHandler();'>
<form>
<input id='i' type='submit'>
</form>
</body>
</html>