tor-browser

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

css3-modsel-176.xml (1281B)


      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>Combinations: classes and IDs</title>
      5  <style type="text/css"><![CDATA[
      6 p { background: red; color: yellow; }
      7 p:not(#other).class:not(.fail).test#id#id { background: green; color: white; }
      8 div { background: green; color: white; }
      9 div:not(#theid).class:not(.fail).test#theid#theid { background: red; color: yellow; }
     10 div:not(#other).notclass:not(.fail).test#theid#theid { background: red; color: yellow; }
     11 div:not(#other).class:not(.test).test#theid#theid { background: red; color: yellow; }
     12 div:not(#other).class:not(.fail).nottest#theid#theid { background: red; color: yellow; }
     13 div:not(#other).class:not(.fail).nottest#theid#other { background: red; color: yellow; }
     14 ]]></style>
     15  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
     16  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found -->
     17  <link rel="match" href="reference/this-line-green-background.xht"/>
     18 </head>
     19 <body>
     20  <p id="id" class="class test">This line should be green.</p>
     21  <div id="theid" class="class test">This line should be green.</div>
     22 </body>
     23 </html>