layout/reftests/css-submit-invalid/default-style/button-submit.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!DOCTYPE>
     2 <html class="reftest-wait">
     3   <style>
     4     input:invalid {
     5       display: none;
     6     }
     7   </style>
     8   <script>
     9     function onloadHandler()
    10     {
    11       document.getElementById('e').setCustomValidity('foo');
    12       document.documentElement.className='';
    13     }
    14   </script>
    15   <body onload="onloadHandler();">
    16     <form>
    17       <input id='e'>
    18       <button type='submit'>Submit!</button>
    19     </form>
    20   </body>
    21 </html>

mercurial