tor-browser

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

content-counter-007.xht (1535B)


      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: content: counter(c, lower-roman)</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#propdef-content"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counter-styles"/>
      9   <link rel="match" href="content-counter-007-ref.xht"/>
     10   <meta http-equiv="Content-Style-Type" content="text/css"/>
     11   <style type="text/css">
     12 
     13   body { white-space: nowrap; }
     14 
     15 
     16   #test { counter-reset: c; }
     17   #test span { counter-increment: c; }
     18   #test span:before { content: counter(c, lower-roman); }
     19 
     20   </style>
     21  </head>
     22  <body>
     23 
     24  <p>The following two lines should look the same:</p>
     25 
     26  <div id="test">
     27    <span></span>
     28    <span></span>
     29    <span></span>
     30    <span></span>
     31    <span></span>
     32    <span></span>
     33    <span></span>
     34    <span></span>
     35    <span></span>
     36    <span></span>
     37    <span></span>
     38    <span></span>
     39    <span style="counter-reset: c 48"></span>
     40    <span></span>
     41    <span style="counter-reset: c 388"></span>
     42    <span></span>
     43    <span style="counter-reset: c 3488"></span>
     44    <span></span>
     45    <span></span>
     46  </div>
     47 
     48  <div>
     49    i
     50    ii
     51    iii
     52    iv
     53    v
     54    vi
     55    vii
     56    viii
     57    ix
     58    x
     59    xi
     60    xii
     61    xlix
     62    l
     63    ccclxxxix
     64    cccxc
     65    mmmcdlxxxix
     66    mmmcdxc
     67    mmmcdxci
     68  </div>
     69 
     70  </body>
     71 </html>