blob: 89b824672b3369bd40df17b3e3586d95dd45f24e [file] [log] [blame]
<csstest def="NEGATED Attribute existence selector with declared namespace" module="W3C Selectors" modulename="css3-modsel" number="57" rev="1.1" date="12-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);
*|p, *|q, *|r { display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
div.stub *:not([a|title]) {background-color : lime }
</cssrules>
<code>
<div class="stub" xmlns="http://www.w3.org/1999/xhtml">
<q a:title="a paragraph" xmlns="http://www.example.org/a">This a:q element should be unstyled.</q>
<p title="a paragraph">This paragraph should have a green background.</p>
<r b:title="a paragraph" xmlns="http://www.example.org/b">This b:r element should have a green background.</r>
</div>
</code>
</csstest>