https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 7efb42bfa6dc4e1d266aae18fce74c54628a15e3 authored by Aki Sasaki on 31 January 2014, 23:05:00 UTC
Bug 960571 - Talos https://hg.mozilla.org. r=jgriffin, a=test-only
Tip revision: 7efb42b
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