https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 8a82da5a554bcf4d8528579a5bc4ff834b10d483 authored by B2G Bumper Bot on 02 September 2014, 17:55:52 UTC
Bumping manifests a=b2g-bump
Tip revision: 8a82da5
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