mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-07-03 12:29:46 +00:00
21 lines
415 B
HTML
21 lines
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>
|