Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-lists/counters-004.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>CSS Lists and Counters: counters(c, ".", georgian)</title>
<link rel="match" href="counters-004-ref.html">
<meta name="assert" content="counters are not inherited from the previous sibling, when can be inherited from the ancestor">
<style type="text/css">
body, #test span:first-child { counter-reset: c; }
p, #test span { counter-increment: c; }
#test span::before { content: counters(c, ".", georgian); }</style>
<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 9999"></span>
<span style="counter-reset: c 19998"></span>
</div>
<div>
<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>იბ.კ</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>
<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>იბ.ჰ</span>
<span>იბ.ჵ</span>
<span>იბ.ჵჰშჟთ</span>
</div>