https://github.com/mozilla/gecko-dev
Raw File
Tip revision: d4f831862a6928b62a9fc427d200712d8cbc14e4 authored by Christian Legnitto on 16 September 2011, 02:55:42 UTC
Backout bug 678588 due to the volume regression in bug 598774, a=LegNeato
Tip revision: d4f8318
css-required-dyn-5.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-2.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