<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-53.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>NEGATED attribute dash-separated value selector</title>
 <author>Daniel Glazman</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-54.xml">NEGATED substring matching attribute selector on beginning</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-52.xml">NEGATED attribute space-separated value selector</data> </item>
  <item> <name>Test #</name> <data>46 of 130 of the static tests category</data> </item>
  <item> <name>Testing</name> <data>NEGATED attribute dash-separated value selector</data> </item>
  <item> <name>ID</name> <data>53</data> </item>
  <item> <name>Date</name> <data>11-july-2001</data> </item>
  <item> <name>Revision</name> <data>1.0</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" xmlns:html="http://www.w3.org/1999/xhtml">
<div xmlns="http://www.w3.org/1999/xhtml" class="stub">
<q xmlns="http://www.example.org/a" test="foo-bar">
  <r test="foo-bartut">This text should be</r>
  <r>in green characters</r>
</q>
<s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters</s>
<t xmlns="http://www.example.org/a">This text should be in green characters</t>
<p class="en-uk">This text should be in green characters</p>
<u xmlns="http://www.example.org/b" test="foo2-bar-lol">This text should be in green characters</u>
</div>
</content>
  <source>
   <css>@namespace a url(http://www.example.org/a);
@namespace b url(http://www.example.org/b);
div.stub p { color : red }
div.stub > a|*, div.stub > b|* { color : red ; display : block ; margin-bottom : 1em }
div.stub *|*:not([test|="foo-bar"]) { color : lime }
div.stub *|p:not([lang|="en-us"]) { color : lime }
div.stub b|*[test|="foo2-bar"] { color : lime }
</css>
   <xml>
&lt;div xmlns="http://www.w3.org/1999/xhtml" class="stub">
&lt;q xmlns="http://www.example.org/a" test="foo-bar">
  &lt;r test="foo-bartut">This text should be&lt;/r>
  &lt;r>in green characters&lt;/r>
&lt;/q>
&lt;s xmlns="http://www.example.org/a" test="bar tut">This text should be in green characters&lt;/s>
&lt;t xmlns="http://www.example.org/a">This text should be in green characters&lt;/t>
&lt;p class="en-uk">This text should be in green characters&lt;/p>
&lt;u xmlns="http://www.example.org/b" test="foo2-bar-lol">This text should be in green characters&lt;/u>
&lt;/div>
</xml>
  </source>
</test>