tor-browser

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

counters-hidden-000.xht (1020B)


      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: Counter properties on 'content: none' pseudo-elements</title>
      5   <link rel="author" title="L. David Baron" href="https://dbaron.org/"/>
      6   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#undisplayed-counters"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
      9   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
     10   <link rel="match" href="counters-hidden-000-ref.html" />
     11   <style type="text/css">
     12 
     13   body { white-space: nowrap; }
     14 
     15 
     16   div { counter-reset: c }
     17   #one:before { counter-increment: c }
     18   #two:before { content: counter(c) }
     19 
     20   </style>
     21  </head>
     22  <body>
     23 
     24  <p>The following should be identical:</p>
     25 
     26  <div><span id="one"></span><span id="two"></span></div>
     27  <div>0</div>
     28 
     29  </body>
     30 </html>