зеркало из https://github.com/mozilla/gecko-dev.git
22 строки
402 B
HTML
22 строки
402 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'>
|
|
<input type='submit'>
|
|
</form>
|
|
</body>
|
|
</html>
|