tor-browser

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

content-counter-010.xht (2882B)


      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, armenian)</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-010-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, armenian); }
     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 19"></span>
     40    <span style="counter-reset: c 29"></span>
     41    <span style="counter-reset: c 39"></span>
     42    <span style="counter-reset: c 49"></span>
     43    <span style="counter-reset: c 59"></span>
     44    <span style="counter-reset: c 69"></span>
     45    <span style="counter-reset: c 79"></span>
     46    <span style="counter-reset: c 89"></span>
     47    <span style="counter-reset: c 99"></span>
     48    <span style="counter-reset: c 199"></span>
     49    <span style="counter-reset: c 299"></span>
     50    <span style="counter-reset: c 399"></span>
     51    <span style="counter-reset: c 499"></span>
     52    <span style="counter-reset: c 599"></span>
     53    <span style="counter-reset: c 699"></span>
     54    <span style="counter-reset: c 799"></span>
     55    <span style="counter-reset: c 899"></span>
     56    <span style="counter-reset: c 999"></span>
     57    <span style="counter-reset: c 1999"></span>
     58    <span style="counter-reset: c 2999"></span>
     59    <span style="counter-reset: c 3999"></span>
     60    <span style="counter-reset: c 4999"></span>
     61    <span style="counter-reset: c 5999"></span>
     62    <span style="counter-reset: c 6999"></span>
     63    <span style="counter-reset: c 7999"></span>
     64    <span style="counter-reset: c 8999"></span>
     65    <span style="counter-reset: c 9998"></span>
     66  </div>
     67 
     68  <div>
     69    &#x531;
     70    &#x532;
     71    &#x533;
     72    &#x534;
     73    &#x535;
     74    &#x536;
     75    &#x537;
     76    &#x538;
     77    &#x539;
     78    &#x53A;
     79    &#x53A;&#x531;
     80    &#x53A;&#x532;
     81    &#x53B;
     82    &#x53C;
     83    &#x53D;
     84    &#x53E;
     85    &#x53F;
     86    &#x540;
     87    &#x541;
     88    &#x542;
     89    &#x543;
     90    &#x544;
     91    &#x545;
     92    &#x546;
     93    &#x547;
     94    &#x548;
     95    &#x549;
     96    &#x54A;
     97    &#x54B;
     98    &#x54C;
     99    &#x54D;
    100    &#x54E;
    101    &#x54F;
    102    &#x550;
    103    &#x551;
    104    &#x552;
    105    &#x553;
    106    &#x554;
    107    &#x554;&#x54B;&#x542;&#x539;
    108  </div>
    109 
    110  </body>
    111 </html>