https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 52b0c1f130625dcb557a7526de3c0f5a8dc495ae authored by seabld on 03 October 2012, 07:09:54 UTC
Added tag SEAMONKEY_2_13b6_RELEASE for changeset FIREFOX_16_0b6_BUILD1. CLOSED TREE a=release
Tip revision: 52b0c1f
css-required-dyn-6.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: Remove the required attribute from an element to make it optional. -->
  <link rel='stylesheet' type='text/css' href='css-required-style-2.css'>

  <script type="text/javascript">
    function removeRequired()
    {
      document.getElementById('i').removeAttribute('required');
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

  <body onload="removeRequired(); disableReftestWait();">
    <input type="text" id="i" required>
  </body>
</html>
back to top