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: green; }
6 testA[|attribute] { color: red; }
7 testB[|attribute="fail"] { color: red; }
8 testC[|attribute~="fail"] { color: red; }
9 testD[|attribute^="fail"] { color: red; }
10 testE[|attribute*="fail"] { color: red; }
11 testF[|attribute$="fail"] { color: red; }
12 testG[|attribute|="fail"] { color: red; }
14 <link rel="first" href="css3-modsel-1.xml" title="Groups of selectors"/>
15 <link rel="prev" href="css3-modsel-171.xml" title="Classes: XHTML global class attribute"/>
16 <link rel="next" href="css3-modsel-172b.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="fail">This should be green.</testA>
24 <testB test:attribute="fail">This should be green.</testB>
25 <testC test:attribute="fail">This should be green.</testC>
26 <testD test:attribute="fail">This should be green.</testD>
27 <testE test:attribute="fail">This should be green.</testE>
28 <testF test:attribute="fail">This should be green.</testF>
29 <testG test:attribute="fail">This should be green.</testG>