t1202-counter-10-b.html-disabled 2.41 KB
Newer Older
darin's avatar
darin committed
1 2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
3 4
 <head>
  <title>CSS 2.1 Test Suite: content: counter(c, armenian)</title>
darin's avatar
darin committed
5 6 7 8
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content">
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter">
  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counter-styles">
  <meta http-equiv="Content-Style-Type" content="text/css"></meta>
9 10
  <style type="text/css">

darin's avatar
darin committed
11 12 13
  body { white-space: nowrap; }


14 15
  #test { counter-reset: c; }
  #test span { counter-increment: c; }
darin's avatar
darin committed
16
  #test span:before { content: counter(c, armenian); }
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66

  </style>
 </head>
 <body>

 <p>The following two lines should look the same:</p>

 <div id="test">
   <span></span>
   <span></span>
   <span></span>
   <span></span>
   <span></span>
   <span></span>
   <span></span>
   <span></span>
   <span></span>
   <span></span>
   <span></span>
   <span></span>
   <span style="counter-reset: c 19"></span>
   <span style="counter-reset: c 29"></span>
   <span style="counter-reset: c 39"></span>
   <span style="counter-reset: c 49"></span>
   <span style="counter-reset: c 59"></span>
   <span style="counter-reset: c 69"></span>
   <span style="counter-reset: c 79"></span>
   <span style="counter-reset: c 89"></span>
   <span style="counter-reset: c 99"></span>
   <span style="counter-reset: c 199"></span>
   <span style="counter-reset: c 299"></span>
   <span style="counter-reset: c 399"></span>
   <span style="counter-reset: c 499"></span>
   <span style="counter-reset: c 599"></span>
   <span style="counter-reset: c 699"></span>
   <span style="counter-reset: c 799"></span>
   <span style="counter-reset: c 899"></span>
   <span style="counter-reset: c 999"></span>
   <span style="counter-reset: c 1999"></span>
   <span style="counter-reset: c 2999"></span>
   <span style="counter-reset: c 3999"></span>
   <span style="counter-reset: c 4999"></span>
   <span style="counter-reset: c 5999"></span>
   <span style="counter-reset: c 6999"></span>
   <span style="counter-reset: c 7999"></span>
   <span style="counter-reset: c 8999"></span>
   <span style="counter-reset: c 9998"></span>
 </div>

 <div>
darin's avatar
darin committed
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
   Ա
   Բ
   Գ
   Դ
   Ե
   Զ
   Է
   Ը
   Թ
   Ժ
   ԺԱ
   ԺԲ
   Ի
   Լ
   Խ
   Ծ
   Կ
   Հ
   Ձ
   Ղ
   Ճ
   Մ
   Յ
   Ն
   Շ
   Ո
   Չ
   Պ
   Ջ
   Ռ
   Ս
   Վ
   Տ
   Ր
   Ց
   ՈՒ
   Փ
   Ք
   ՔՋՂԹ
106
 </div>
darin's avatar
darin committed
107

108 109
 </body>
</html>