blob: 0374edbe9f6edc506aa6b56369a7b1f0e3726459 [file] [log] [blame]
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Namespaced attribute selectors</title>
<style type="text/css"><![CDATA[
@namespace url(http://css.example.net/);
tests, tests * { display: block; color: green; }
testA[|attribute] { color: red; }
testB[|attribute="fail"] { color: red; }
testC[|attribute~="fail"] { color: red; }
testD[|attribute^="fail"] { color: red; }
testE[|attribute*="fail"] { color: red; }
testF[|attribute$="fail"] { color: red; }
testG[|attribute|="fail"] { color: red; }
]]></style>
<link rel="first" href="css3-modsel-1.xml" title="Groups of selectors"/>
<link rel="prev" href="css3-modsel-172a.xml" title="Namespaced attribute selectors"/>
<link rel="next" href="css3-modsel-173a.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="fail">This should be green.</testA>
<testB test:attribute="fail">This should be green.</testB>
<testC test:attribute="fail">This should be green.</testC>
<testD test:attribute="fail">This should be green.</testD>
<testE test:attribute="fail">This should be green.</testE>
<testF test:attribute="fail">This should be green.</testF>
<testG test:attribute="fail">This should be green.</testG>
</tests>
</body>
</html>