https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 951ade940eacfdad4de7530058690a10637a277d authored by Geoffrey Sneddon on 09 April 2018, 11:49:58 UTC
fixup! Move the config into its own class
Tip revision: 951ade9
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