tor-browser

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

css3-modsel-172b.xml (1385B)


      1 <html xmlns="http://www.w3.org/1999/xhtml">
      2 <head>
      3  <title>Namespaced attribute selectors</title>
      4  <style type="text/css"><![CDATA[
      5 @namespace url(http://css.example.net/);
      6 tests, tests * { display: block; color: green; }
      7 testA[|attribute] { color: red; }
      8 testB[|attribute="fail"] { color: red; }
      9 testC[|attribute~="fail"] { color: red; }
     10 testD[|attribute^="fail"] { color: red; }
     11 testE[|attribute*="fail"] { color: red; }
     12 testF[|attribute$="fail"] { color: red; }
     13 testG[|attribute|="fail"] { color: red; }
     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/seven-green-divs.xht"/>
     18  <meta name="flags" content=" namespace" />
     19 </head>
     20 <body>
     21  <tests xmlns="http://css.example.net/" xmlns:test="http://css.example.net/">
     22   <testA test:attribute="fail">This should be green.</testA>
     23   <testB test:attribute="fail">This should be green.</testB>
     24   <testC test:attribute="fail">This should be green.</testC>
     25   <testD test:attribute="fail">This should be green.</testD>
     26   <testE test:attribute="fail">This should be green.</testE>
     27   <testF test:attribute="fail">This should be green.</testF>
     28   <testG test:attribute="fail">This should be green.</testG>
     29  </tests>
     30 </body>
     31 </html>