blob: 9f0e3f38d348aa4ce7304245b7844fd57886c893 [file] [log] [blame]
<csstest def="NEGATED Attribute existence selector with declared namespace" module="W3C Selectors" modulename="css3-modsel" number="57b" 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 : lime ! important }
div.stub *:not([a|title]) {background-color : red }
</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>