| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <title>Attribute selectors with multiple attributes</title> |
| <style type="text/css"><![CDATA[ |
| tests, tests * { display: block; color: red; } |
| testA[*|attribute="pass"] { color: green; } |
| testB[*|attribute="pass"] { color: green; } |
| ]]></style> |
| <link rel="first" href="css3-modsel-1.xml" title="Groups of selectors"/> |
| <link rel="prev" href="css3-modsel-173b.xml" title="Namespaced attribute selectors"/> |
| <link rel="next" href="css3-modsel-174b.xml" title="NEGATED 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" test:attribute="fail">This should be green.</testA> |
| <testB attribute="fail" test:attribute="pass">This should be green.</testB> |
| </tests> |
| </body> |
| </html> |