https://github.com/mozilla/gecko-dev
Raw File
Tip revision: e3a2113d8ccd1bb11ae2f7f3c7163ad271d0064b authored by Joel Maher on 08 June 2024, 11:33:29 UTC
Bug 1901251 - Adjust moz-icon-blank reftest expectations for new graphics card on windows. r=tnikkel, a=test-only DONTBUILD
Tip revision: e3a2113
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