tor-browser

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

css3-modsel-119.xml (1526B)


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