layout/reftests/css-ui-invalid/default-style/button-focus.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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     <button id='e' onfocus="document.documentElement.className='';"></button>
    12   </body>
    13 </html>

mercurial