blob: 533498fd9044e5b33e543d3906a9cb45e4bec2ea [file] [log] [blame]
<csstest def="NEGATED :lang() pseudo-class" module="W3C Selectors" modulename="css3-modsel" number="67" rev="1.0" date="11-july-2001" 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>
<cssrules>div.stub * { background-color : red }
div.stub *:not(:lang(fr)) { background-color : green }</cssrules>
<code>
<div lang="en" class="stub" xmlns="http://www.w3.org/1999/xhtml">
<p>This paragraph should have a green background because the
enclosing div is in english.</p>
<p lang="en">This paragraph should have a green background because
it is in english.</p>
<div lang="fr">
<p lang="en">This paragraph should have a green background
because it is in english.</p>
</div>
</div>
</code>
</csstest>