layout/reftests/css-optional/css-optional-dyn-2.html
author Jonas Sicking <jonas@sicking.cc>
Fri, 04 Feb 2011 14:44:32 -0500
changeset 61950 c14b6fd8ed6d5626f1a157c08bcf35c1923513c2
parent 50912 55ef0e0529bc14c66810a6ef2851923c97199358
permissions -rw-r--r--
Bug 587928 - Disable support for <meta http-equiv="Link">; r,a=jst

<!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-optional-style.css'>

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

  <body onload="addRequired(); disableReftestWait();">
    <input id="i">
  </body>
</html>