blob: b00a88aa8b0ded9358cdde07ac067b161868a9c1 [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-173a.xml" title="Namespaced attribute selectors"/>
<link rel="next" href="css3-modsel-174a.xml" title="Attribute selectors with multiple attributes"/>
<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 attribute="pass">This should be green.</testA>
<testB attribute="pass">This should be green.</testB>
<testC attribute="pass">This should be green.</testC>
<testD attribute="pass">This should be green.</testD>
<testE attribute="pass">This should be green.</testE>
<testF attribute="pass">This should be green.</testF>
<testG attribute="pass">This should be green.</testG>
</tests>
</body>
</html>