https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 7b4407f0efa26857511e37e3acadace05b645f16 authored by ffxbld on 06 October 2011, 01:00:13 UTC
Added tag FENNEC_8_0b2_BUILD1 for changeset 747c148bea02. CLOSED TREE a=release
Tip revision: 7b4407f
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