<?xml-stylesheet href="../../../style/xhtml-full.css" type="text/css"?>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>NEGATED Attribute dash-separated value selector without declared namespace</title>
  <meta name="author" content="Daniel Glazman, Ian Hickson"/>
  <link rel="stylesheet" type="text/css" href="../../../style/xhtml-full.css"/> <!-- yes this means compliant UAs get to import this twice -->
  <style type="text/css"><![CDATA[@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, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|address, *|r { background-color : lime ! important }
div.stub *|*:not([|lang|="foo-bar"]) { background-color : red }]]></style>
  <link rel="first" href="css3-modsel-1.xml" title="Groups of selectors"/>
  <link rel="prev" href="css3-modsel-140.xml" title="NEGATED Attribute dash-separated value selector without declared namespace"/>
  <link rel="next" href="css3-modsel-141.xml" title="NEGATED Substring matching attribute selector on beginning without declared namespace"/>
  <link rel="last" href="css3-modsel-184f.xml" title="NEGATED contains attribute selector with empty value"/>
  <link rel="up" href="./index.html"/>
  <link rel="top" href="../../../index.html"/>
 </head>
 <body>
  <table class="testDescription">
   <tr>
    <th class="b">CSS 3 Module</th> <!-- XXX hard coded to say CSS 3 -->
    <th class="c" colspan="2">
     <a href="css3-modsel-140.xml" title="NEGATED Attribute dash-separated value selector without declared namespace">&lt;==</a>
     Test #
     <a href="css3-modsel-141.xml" title="NEGATED Substring matching attribute selector on beginning without declared namespace">==&gt;</a>
    </th>
   </tr>
   <tr>
    <td class="b">W3C Selectors</td>
    <td class="c" colspan="2">206 of 276 of the static tests category</td>
   </tr>
   <tr>
    <th class="b">Testing</th>
    <th class="a">Date</th>
    <th class="a">Revision</th>
   </tr>
   <tr>
    <td class="b">NEGATED Attribute dash-separated value selector without declared namespace (ID #140b)</td>
    <td class="a">2001-11-13</td>
    <td class="a">1.1</td>
   </tr>
  </table>
  <p class="WARNING">NOTE: The UA must support namespaces for this test.</p>
  <div class="testSource">
   <div class="testText" xmlns:b="http://www.example.org/b">
<div class="stub">
<p lang="foo-bar">This paragraph should be unstyled.</p>
<address lang="foo-b">This address should have a green background.</address>
<address lang="foo-barbar-toto">This address should have a green background.</address>
<q xmlns="http://www.example.org/a" lang="foo-bar">This paragraph should be unstyled.</q>
<r xmlns="http://www.example.org/b" b:lang="foo-bar">This paragraph should have a green background.</r>
</div>
</div>
   <pre class="rules">@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, *|address, *|q, *|r { display : block ; margin-bottom : 1em }
*|address, *|r { background-color : lime ! important }
div.stub *|*:not([|lang|=&quot;foo-bar&quot;]) { background-color : red }</pre>
   <pre class="rules">
&lt;div class=&quot;stub&quot;&gt;
&lt;p lang=&quot;foo-bar&quot;&gt;This paragraph should be unstyled.&lt;/p&gt;
&lt;address lang=&quot;foo-b&quot;&gt;This address should have a green background.&lt;/address&gt;
&lt;address lang=&quot;foo-barbar-toto&quot;&gt;This address should have a green background.&lt;/address&gt;
&lt;q xmlns=&quot;http://www.example.org/a&quot; lang=&quot;foo-bar&quot;&gt;This paragraph should be unstyled.&lt;/q&gt;
&lt;r xmlns=&quot;http://www.example.org/b&quot; b:lang=&quot;foo-bar&quot;&gt;This paragraph should have a green background.&lt;/r&gt;
&lt;/div&gt;
</pre>
  </div>
 </body>
</html>