tor-browser

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

ident-003.xht (1352B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: Valid Identifiers (starting with -) as Classes and IDs</title>
      5   <link rel="author" title="L. David Baron" href="https://dbaron.org/"/>
      6   <link rel="author" title="Ray Kiddy" href="mailto:ray@ganymede.org"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#characters"/>
      8   <link rel="match" href="ident-003-ref.xht"/>
      9   <meta name="flags" content="invalid"/>
     10   <style type="text/css">
     11 
     12   .one { color: red; background: white; }
     13   .-ident, .one { color: green; }
     14 
     15   .two { color: red; background: white; }
     16   #-ident, .two { color: green; }
     17 
     18   .three { color: green; background: white; }
     19   .-1ident, .three { color: red; }
     20 
     21   .four { color: green; background: white; }
     22   #-1ident, .four { color: red; }
     23 
     24   .five { color: red; background: white; }
     25   .-\31ident, .five { color: green; }
     26 
     27   .six { color: red; background: white; }
     28   #-\31ident, .six { color: green; }
     29 
     30   </style>
     31  </head>
     32  <body>
     33 
     34  <p class="one">This should be green.</p>
     35  <p class="two">This should be green.</p>
     36  <p class="three">This should be green.</p>
     37  <p class="four">This should be green.</p>
     38  <p class="five">This should be green.</p>
     39  <p class="six">This should be green.</p>
     40 
     41  </body>
     42 </html>