https://github.com/web-platform-tests/wpt
Raw File
Tip revision: fced01876b48e034b64d9dad6de14d1bdeba3cc0 authored by Daniel Cheng on 12 April 2018, 12:08:45 UTC
Return null from contentDocument/getSVGDocument() for cross-origin documents.
Tip revision: fced018
css3-modsel-d5e.xml-removed
<csstest def="NEGATED :indeterminate with :checked" module="W3C Selectors" modulename="css3-modsel" number="d5e" rev="1.2" date="20-october-2005" xmlns="http://www.example.org/css3tests">

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

<dynamic/>

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

<code>

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

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

    function test() {
      document.getElementById("test").checked = false;
    }

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

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

 </div>

</code>
</csstest>
back to top