blob: cce76420397231835a2111a2652184a5361aebe1 [file] [log] [blame]
<csstest def="NEGATED :checked pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="70" rev="1.1" date="24-february-2004" xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.example.org/css3tests">
<author>Daniel Glazman</author>
<author>Ian Hickson</author>
<cssrules>input, span { background-color : red }
input:not(:checked), input:not(:checked) + span { background-color : lime}</cssrules>
<code>
<p xmlns="http://www.w3.org/1999/xhtml">
<input type="checkbox"/> <span>Everything in this paragraph should have a green background</span></p>
</code>
</csstest>