blob: 5dc99e07ce189d0f06b8e8f254dec2c867c7904d [file] [log] [blame]
<csstest def="NEGATED Attribute dash-separated value selector without declared namespace" module="W3C Selectors" modulename="css3-modsel" number="140" rev="1.1" date="13-november-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>
<author>Ian Hickson</author>
<cssrules>@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
@namespace html url(http://www.w3.org/1999/xhtml);
*|p, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|address, *|r { background-color : red }
div.stub *|*:not([|lang|="foo-bar"]) { background-color : lime }</cssrules>
<code>
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
<p lang="foo-bar">This paragraph should be unstyled.</p>
<address lang="foo-b">This address should have a green background.</address>
<address lang="foo-barbar-toto">This address should have a green background.</address>
<q lang="foo-bar" xmlns="http://www.example.org/a">This paragraph should be unstyled.</q>
<r b:lang="foo-bar" xmlns="http://www.example.org/b">This paragraph should have a green background.</r>
</div>
</code>
</csstest>