1 <html xmlns="http://www.w3.org/1999/xhtml">
3 <title>NEGATED type element selector with declared namespace</title>
4 <style type="text/css"><![CDATA[@namespace html url(http://www.w3.org/1999/xhtml);
5 @namespace a url(http://www.example.org/a);
6 @namespace b url(http://www.example.org/b);
7 *|p, *|l { display : block ; margin-bottom : 1em }
8 div.test * { background-color : red }
9 div.test *:not(a|p) { background-color : lime }
11 <link rel="first" href="css3-modsel-1.xml" title="Groups of selectors"/>
12 <link rel="prev" href="css3-modsel-117b.xml" title="Substring matching attribute selector on middle without declared namespace"/>
13 <link rel="next" href="css3-modsel-119.xml" title="NEGATED type element selector with universal namespace"/>
14 <link rel="last" href="css3-modsel-d4.xml" title="Dynamic updating of :first-child and :last-child"/>
15 <link rel="up" href="./index.html"/>
16 <link rel="top" href="../../index.html"/>
20 <p xmlns="http://www.w3.org/1999/xhtml">This paragraph should have a green background.</p>
21 <p xmlns="http://www.example.org/b">This paragraph should have a green background.</p>
22 <p xmlns="">This paragraph should have a green background.</p>
23 <p xmlns="http://www.example.org/a">
24 <l>This paragraph should have a green background.</l>