- <!DOCTYPE>
- <html class="reftest-wait">
- <script>
- function onloadHandler()
- {
- document.getElementById('e').setCustomValidity('foo');
- document.getElementById('e').focus();
- }
- </script>
- <body onload="onloadHandler();">
- <input id='e' onfocus="document.documentElement.className='';">
- </body>
- </html>
|