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

21 строка
415 B
HTML

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