https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 8e87d5cf5e2e2d51c9f86e22a25eb2cb91d1d3de authored by Anne van Kesteren on 15 April 2018, 13:08:53 UTC
rename resources
Tip revision: 8e87d5c
css3-modsel-d5a.xml-removed
<csstest def=":indeterminate and :checked" module="W3C Selectors" modulename="css3-modsel" number="d5a" rev="1.1" date="20-october-2005" xmlns="http://www.example.org/css3tests">

<author>Tantek &#x00C7;elik</author>
<author>Ian Hickson</author>

<dynamic/>

<cssrules>
 input, span { background: green; }
 input:checked, input:checked + span { background: red; }
</cssrules>

<code>

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

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

    function test() {
      /* Technically not part of DOM1 HTML but Tantek assures me that
      is an oversight... */
      document.getElementById("test").indeterminate = true;
    }

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

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

 </div>

</code>
</csstest>
back to top