<?xml-stylesheet href="css3-modsel-d5d.css" type="text/css"?>
<test>

 <div xmlns="http://www.w3.org/1999/xhtml">

  <script type="text/javascript">
   <![CDATA[

    function test() {
      /* Microsoft specs for .indeterminate say that this is an invalid test
         as an element can be both .checked and ,indeterminate; however the
         selectors spec says no element can be :checked:indeterminate. */
      document.getElementById("test").indeterminate = true;
    }

    window.setTimeout("test()", 100);
   ]]>
  </script>

  <p> <input id="test" type="checkbox" checked="checked"></input> <span>Everything in this paragraph should have a green background.</span> </p>

 </div>

</test>