Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <!DOCTYPE>
2 <html class="reftest-wait">
3 <script>
4 function onloadHandler()
5 {
6 document.getElementById('e').setCustomValidity('foo');
7 document.getElementById('e').focus();
8 }
9 </script>
10 <body onload="onloadHandler();">
11 <textarea id='e' onfocus="document.documentElement.className='';"></textarea>
12 </body>
13 </html>