https://github.com/mozilla/gecko-dev
Raw File
Tip revision: a3ae2211f17b2baacaccd8f2cbcf152805b9f45e authored by seabld on 13 December 2012, 16:25:53 UTC
Added tag SEAMONKEY_2_15b4_RELEASE for changeset FIREFOX_18_0b4_BUILD1. CLOSED TREE a=release
Tip revision: a3ae221
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