CSS 3 Module <== Test # ==>
W3C Selectors 85 of 182
Testing Date Revision
NEGATED :lang() pseudo-class (ID #67) 2001-07-11 1.0

This paragraph should have a green background because the enclosing div is in english.

This paragraph should have a green background because it is in english.

This paragraph should have a green background because it is in english.

div.stub * { background-color : red  }
div.stub *:not(:lang(fr)) { background-color : green }
<div lang="en" class="stub">
<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>