https://github.com/mozilla/gecko-dev
Raw File
Tip revision: b3b710882ee5e0caefd46eb034ef7369044a7777 authored by Renovate Bot on 15 April 2021, 04:06:59 UTC
Add renovate.json
Tip revision: b3b7108
css-required-dyn-3.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: Add the required attribute to an element to make it required. -->
  <link rel='stylesheet' type='text/css' href='css-required-style.css'>

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

  <body onload="addRequired(); disableReftestWait();">
    <input type="text" id="i">
  </body>
</html>
back to top