tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

form-dynamic-invalid.html (520B)


      1 <!DOCTYPE html>
      2 <!-- form with one invalid element which is made invalid dynamically -->
      3 <html class='reftest-wait'>
      4  <head>
      5    <style>
      6      form:invalid { display: none; }
      7      :-moz-ui-invalid { box-shadow: none; }
      8    </style>
      9  </head>
     10  <script>
     11    function onloadHandler()
     12    {
     13      document.getElementById('i').value = '';
     14      document.documentElement.className = '';
     15    }
     16  </script>
     17  <body onload='onloadHandler();'>
     18    <form>
     19      <input id='i' value='foo' required>
     20    </form>
     21  </body>
     22 </html>