CSS 3 Module <== Test # ==>
W3C Selectors 7 of 146 of the static tests category
Testing Date Revision
Attribute multivalue selector (ID #7) 2001-07-11 1.0

This paragraph should have green background because CLASS contains "b"

This address should also have green background because the selector in the last rule does not apply to the inner SPANs.
p { background-color : red }
p[class~="b"] { background-color : lime }
address { background-color : red }
address[title~="foo"] { background-color : lime }
span[class~="b"] { background-color : red }
<p class="a b c">This paragraph should have green background because CLASS
  contains &quot;b&quot;</p>
<address title="tot foo bar">
<span class="a c">This address should also</span>
  <span class="a bb c">have green background because the selector in the last
    rule does not apply to the inner SPANs.</span>
</address>