<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-136.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED Substring matching attribute selector on middle with universal namespace</title>
 <author>Daniel Glazman</author>
 <author>Ian Hickson</author>
 <metadata>
  <item> <name>CSS 3 Module</name> <data>W3C Selectors</data> </item>
  <item> <name>Next</name> <data xlink:type="simple" xlink:href="css3-modsel-136b.xml">NEGATED Substring matching attribute selector on middle with universal namespace</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-135b.xml">NEGATED Substring matching attribute selector on end with universal namespace</data> </item>
  <item> <name>Test #</name> <data>197 of 276 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>NEGATED Substring matching attribute selector on middle with universal namespace</data> </item>
  <item> <name>ID</name> <data>136</data> </item>
  <item> <name>Date</name> <data>2001-11-13</data> </item>
  <item> <name>Revision</name> <data>1.1</data> </item>
 </metadata>
   <requirement>The UA must support namespaces for this test.</requirement>
  <content xmlns:a="http://www.example.org/a" xmlns:b="http://www.example.org/b">
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<p title="si on chantait">This paragraph should be unstyled.</p>
<p title="si il chantait" class="red">This paragraph should have a green background.</p>
<q xmlns="http://www.example.org/a" a:title="si nous chantions">This paragraph should have a green background.</q>
<r xmlns="http://www.example.org/a" a:title="si on chantait">This paragraph should be unstyled.</r>
<s xmlns="http://www.example.org/b" b:title="si on chantait">This paragraph should be unstyled.</s>
<t xmlns="http://www.example.org/b" b:ti="si on chantait">This paragraph should have a green background.</t>
</div>
</content>
  <source>
   <css>@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.red, *|q, *|t { background-color : red }
div.stub *|*:not([*|title*=&quot;on ch&quot;]) { background-color : lime }
</css>
   <xml>
&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; class=&quot;stub&quot;&gt;
&lt;p title=&quot;si on chantait&quot;&gt;This paragraph should be unstyled.&lt;/p&gt;
&lt;p title=&quot;si il chantait&quot; class=&quot;red&quot;&gt;This paragraph should have a green background.&lt;/p&gt;
&lt;q xmlns=&quot;http://www.example.org/a&quot; a:title=&quot;si nous chantions&quot;&gt;This paragraph should have a green background.&lt;/q&gt;
&lt;r xmlns=&quot;http://www.example.org/a&quot; a:title=&quot;si on chantait&quot;&gt;This paragraph should be unstyled.&lt;/r&gt;
&lt;s xmlns=&quot;http://www.example.org/b&quot; b:title=&quot;si on chantait&quot;&gt;This paragraph should be unstyled.&lt;/s&gt;
&lt;t xmlns=&quot;http://www.example.org/b&quot; b:ti=&quot;si on chantait&quot;&gt;This paragraph should have a green background.&lt;/t&gt;
&lt;/div&gt;
</xml>
  </source>
</test>