blob: 04200c9cc27f86578c286db59d47cc3ff12105ab [file] [log] [blame]
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Namespaced attribute selectors</title>
<style type="text/css"><![CDATA[
tests, tests * { display: block; color: red; }
testA[*|attribute] { color: green; }
testB[*|attribute="pass"] { color: green; }
testC[*|attribute~="pass"] { color: green; }
testD[*|attribute^="pass"] { color: green; }
testE[*|attribute*="pass"] { color: green; }
testF[*|attribute$="pass"] { color: green; }
testG[*|attribute|="pass"] { color: green; }
]]></style>
<link rel="first" href="css3-modsel-1.xml" title="Groups of selectors"/>
<link rel="prev" href="css3-modsel-172b.xml" title="Namespaced attribute selectors"/>
<link rel="next" href="css3-modsel-173b.xml" title="Namespaced attribute selectors"/>
<link rel="last" href="css3-modsel-d4.xml" title="Dynamic updating of :first-child and :last-child"/>
<link rel="up" href="./index.html"/>
<link rel="top" href="../../index.html"/>
</head>
<body>
<tests xmlns="http://css.example.net/" xmlns:test="http://css.example.net/">
<testA test:attribute="pass">This should be green.</testA>
<testB test:attribute="pass">This should be green.</testB>
<testC test:attribute="pass">This should be green.</testC>
<testD test:attribute="pass">This should be green.</testD>
<testE test:attribute="pass">This should be green.</testE>
<testF test:attribute="pass">This should be green.</testF>
<testG test:attribute="pass">This should be green.</testG>
</tests>
</body>
</html>