https://github.com/mozilla/gecko-dev
Raw File
Tip revision: e3d0188ad77a950526290382e80d4d8a5de3738e authored by Justin Lebar on 01 August 2011, 17:38:04 UTC
Backing out dc9cf2842794 (bug 652399) because it disables libjpeg-turbo on Windows (bug 675568). a=legneato
Tip revision: e3d0188
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