|
58 | 58 | </p> |
59 | 59 | <h1 class="p-name no-ref" id=title>CSS Counter Styles Level 3</h1> |
60 | 60 | <h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft, |
61 | | - <span class=dt-updated><span class=value-title title=20140210>10 February 2014</span></span></span></h2> |
| 61 | + <span class=dt-updated><span class=value-title title=20140211>11 February 2014</span></span></span></h2> |
62 | 62 | <div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-counter-styles/>http://dev.w3.org/csswg/css-counter-styles/</a><dt>Latest version:<dd><a href=http://w3.org/TR/css-counter-styles-3/>http://w3.org/TR/css-counter-styles-3/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-counter-styles/>http://dev.w3.org/csswg/css-counter-styles/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2012/WD-css-counter-styles-3-20121009/ rel=previous>http://www.w3.org/TR/2012/WD-css-counter-styles-3-20121009/</a> |
63 | 63 | <dt>Feedback:</dt> |
64 | 64 | <dd><a href="mailto:www-style@w3.org?subject=%5Bcss-counter-styles%5D%20feedback">www-style@w3.org</a> |
@@ -1816,23 +1816,29 @@ <h3 class="heading settled heading" data-level=7.2 id=ethiopic-numeric-counter-s |
1816 | 1816 | The following algorithm converts decimal digits to ethiopic numbers: |
1817 | 1817 |
|
1818 | 1818 | <ol> |
1819 | | - <li>Split the number into groups of two digits, starting with the least |
1820 | | - significant decimal digit. |
| 1819 | + <li> |
| 1820 | + If the number is 1, |
| 1821 | + return "፩" (U+1369). |
| 1822 | + |
| 1823 | + <li> |
| 1824 | + Split the number into groups of two digits, |
| 1825 | + starting with the least significant decimal digit. |
1821 | 1826 |
|
1822 | | - <li>Index each group sequentially, starting from the least significant |
1823 | | - as group number zero. |
| 1827 | + <li> |
| 1828 | + Index each group sequentially, |
| 1829 | + starting from the least significant as group number zero. |
1824 | 1830 |
|
1825 | 1831 | <li> |
1826 | 1832 | If the group has the value zero, |
1827 | | - or if the group is the most significant one and has |
1828 | | - the value 1, |
1829 | | - or if the group has an odd index (as given in the previous step) and |
1830 | | - has the value 1, |
1831 | | - then remove the digits |
1832 | | - (but leave the group, so it still has a separator appended below). |
1833 | | - |
1834 | | - <li>For each remaining digit, substitute the relevant ethiopic character |
1835 | | - from the list below. |
| 1833 | + or if the group is the most significant one and has the value 1, |
| 1834 | + or if the group has an odd index (as given in the previous step) and has the value 1, |
| 1835 | + then remove the digits |
| 1836 | + (but leave the group, so it still has a separator appended below). |
| 1837 | + |
| 1838 | + <li> |
| 1839 | + For each remaining digit, |
| 1840 | + substitute the relevant ethiopic character from the list below. |
| 1841 | + |
1836 | 1842 | <table class=data> |
1837 | 1843 | <thead> |
1838 | 1844 | <tr> |
@@ -1920,7 +1926,9 @@ <h3 class="heading settled heading" data-level=7.2 id=ethiopic-numeric-counter-s |
1920 | 1926 | except the group with index 0, |
1921 | 1927 | append ፼ U+137C. |
1922 | 1928 |
|
1923 | | - <li>Concatenate the groups into one string. |
| 1929 | + <li> |
| 1930 | + Concatenate the groups into one string, |
| 1931 | + and return it. |
1924 | 1932 | </ol> |
1925 | 1933 |
|
1926 | 1934 | <p> For this system, the name is "ethiopic-numeric", |
|
0 commit comments