tor-browser

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

css3-modsel-118.xml (1157B)


      1 <html xmlns="http://www.w3.org/1999/xhtml">
      2 <head>
      3  <title>NEGATED type element selector with declared namespace</title>
      4  <style type="text/css"><![CDATA[@namespace html url(http://www.w3.org/1999/xhtml);
      5 @namespace a url(http://www.example.org/a);
      6 @namespace b url(http://www.example.org/b);
      7 *|p, *|l { display : block ; margin-bottom : 1em }
      8 div.test * { background-color : red }
      9 div.test *:not(a|p) { background-color : lime }
     10 ]]></style>
     11  <link rel="author" title="Daniel Glazman" href="http://glazman.org/"/>
     12  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
     13  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found -->
     14  <meta name="flags" content=" namespace" />
     15 </head>
     16 <body>
     17 <div class="test">
     18 <p xmlns="http://www.w3.org/1999/xhtml">This paragraph should have a green background.</p>
     19 <p xmlns="http://www.example.org/b">This paragraph should have a green background.</p>
     20 <p xmlns="">This paragraph should have a green background.</p>
     21 <p xmlns="http://www.example.org/a">
     22 <l>This paragraph should have a green background.</l>
     23 </p>
     24 </div>
     25 </body>
     26 </html>