https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 23110f8ae0a5bf693f7af19cf0ce38b802e928c6 authored by ffxbld on 08 February 2012, 09:15:56 UTC
Added tag FIREFOX_11_0b2_BUILD1 for changeset 7850f65718ee. CLOSED TREE a=release
Tip revision: 23110f8
css-required-dyn-2.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: Change an input element from required type
             to a non-required type. -->
  <link rel='stylesheet' type='text/css' href='css-required-style.css'>

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

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