blob: 6cb57a475b03b06a6449be0d75cc5178f63722b1 [file] [log] [blame]
<csstest def="Substring matching attribute selector on end without declared namespace" module="W3C Selectors" modulename="css3-modsel" number="116" 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, *|q, *|r, *|s, *|t{ display : block ; margin-bottom : 1em }
*|p, *|r { background-color : red }
*|*[|title$="tait"] { background-color : lime }</cssrules>
<code>
<p title="si on chantait" xmlns="http://www.w3.org/1999/xhtml">This paragraph should have a green background.</p>
<q a:title="si nous chantions" xmlns="http://www.example.org/a">This paragraph should be unstyled.</q>
<r title="si on chantait" xmlns="http://www.example.org/a">This paragraph should have a green background.</r>
<s b:title="si on chantait" xmlns="http://www.example.org/b">This paragraph should be unstyled.</s>
<t title="si nous chantions" xmlns="http://www.example.org/b">This paragraph should be unstyled.</t>
</code>
</csstest>