1 <html xmlns="http://www.w3.org/1999/xhtml">
3 <title>Namespaced attribute selectors</title>
4 <style type="text/css"><![CDATA[
5 tests, tests * { display: block; color: red; }
6 testA[*|attribute] { color: green; }
7 testB[*|attribute="pass"] { color: green; }
8 testC[*|attribute~="pass"] { color: green; }
9 testD[*|attribute^="pass"] { color: green; }
10 testE[*|attribute*="pass"] { color: green; }
11 testF[*|attribute$="pass"] { color: green; }
12 testG[*|attribute|="pass"] { color: green; }
14 <link rel="first" href="css3-modsel-1.xml" title="Groups of selectors"/>
15 <link rel="prev" href="css3-modsel-172b.xml" title="Namespaced attribute selectors"/>
16 <link rel="next" href="css3-modsel-173b.xml" title="Namespaced attribute selectors"/>
17 <link rel="last" href="css3-modsel-d4.xml" title="Dynamic updating of :first-child and :last-child"/>
18 <link rel="up" href="./index.html"/>
19 <link rel="top" href="../../index.html"/>
22 <tests xmlns="http://css.example.net/" xmlns:test="http://css.example.net/">
23 <testA test:attribute="pass">This should be green.</testA>
24 <testB test:attribute="pass">This should be green.</testB>
25 <testC test:attribute="pass">This should be green.</testC>
26 <testD test:attribute="pass">This should be green.</testD>
27 <testE test:attribute="pass">This should be green.</testE>
28 <testF test:attribute="pass">This should be green.</testF>
29 <testG test:attribute="pass">This should be green.</testG>