tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

css3-modsel-7.xml (1006B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3 <head>
      4  <title>Attribute multivalue selector</title>
      5  <style type="text/css"><![CDATA[p { background-color : red }
      6 p[class~="b"] { background-color : lime }
      7 address { background-color : red }
      8 address[title~="foo"] { background-color : lime }
      9 span[class~="b"] { background-color : red }]]></style>
     10  <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/>
     11  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found -->
     12 </head>
     13 <body>
     14 <p class="a b c">This paragraph should have green background because CLASS
     15  contains &quot;b&quot;</p>
     16 <address title="tot foo bar">
     17 <span class="a c">This address should also</span>
     18  <span class="a bb c">have green background because the selector in the last
     19    rule does not apply to the inner SPANs.</span>
     20 </address>
     21 </body>
     22 </html>