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