mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
21 lines
845 B
XML
21 lines
845 B
XML
<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>
|