https://github.com/mozilla/gecko-dev
Raw File
Tip revision: d3e2548c17483ad494ac5c6e9602355d1559cd64 authored by Ryan VanderMeulen on 16 March 2014, 19:13:43 UTC
Merge b2g18 to v1.1hd. a=merge
Tip revision: d3e2548
css-required-dyn-1.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: Change an input element from non-required type
             to a required type. -->
  <link rel='stylesheet' type='text/css' href='css-required-style.css'>

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

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