Skip to content

Commit edd43c5

Browse files
committed
[css-counter-styles] Whoops, missed a correction from Richard about ethiopic-numeric with the value 1.
--HG-- extra : rebase_source : aed70daaad18b3084f281ffb6d1d41ebe6fcce69
1 parent 53d3ce4 commit edd43c5

2 files changed

Lines changed: 45 additions & 29 deletions

File tree

css-counter-styles/Overview.html

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</p>
5959
<h1 class="p-name no-ref" id=title>CSS Counter Styles Level 3</h1>
6060
<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>
6262
<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>
6363
<dt>Feedback:</dt>
6464
<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
18161816
The following algorithm converts decimal digits to ethiopic numbers:
18171817

18181818
<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.
18211826

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.
18241830

18251831
<li>
18261832
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+
18361842
<table class=data>
18371843
<thead>
18381844
<tr>
@@ -1920,7 +1926,9 @@ <h3 class="heading settled heading" data-level=7.2 id=ethiopic-numeric-counter-s
19201926
except the group with index 0,
19211927
append ፼ U+137C.
19221928

1923-
<li>Concatenate the groups into one string.
1929+
<li>
1930+
Concatenate the groups into one string,
1931+
and return it.
19241932
</ol>
19251933

19261934
<p> For this system, the name is "ethiopic-numeric",

css-counter-styles/Overview.src.html

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1804,23 +1804,29 @@ <h3 id='ethiopic-numeric-counter-style'>
18041804
The following algorithm converts decimal digits to ethiopic numbers:
18051805

18061806
<ol>
1807-
<li>Split the number into groups of two digits, starting with the least
1808-
significant decimal digit.
1807+
<li>
1808+
If the number is 1,
1809+
return "፩" (U+1369).
1810+
1811+
<li>
1812+
Split the number into groups of two digits,
1813+
starting with the least significant decimal digit.
18091814

1810-
<li>Index each group sequentially, starting from the least significant
1811-
as group number zero.
1815+
<li>
1816+
Index each group sequentially,
1817+
starting from the least significant as group number zero.
18121818

18131819
<li>
18141820
If the group has the value zero,
1815-
or if the group is the most significant one and has
1816-
the value 1,
1817-
or if the group has an odd index (as given in the previous step) and
1818-
has the value 1,
1819-
then remove the digits
1820-
(but leave the group, so it still has a separator appended below).
1821-
1822-
<li>For each remaining digit, substitute the relevant ethiopic character
1823-
from the list below.
1821+
or if the group is the most significant one and has the value 1,
1822+
or if the group has an odd index (as given in the previous step) and has the value 1,
1823+
then remove the digits
1824+
(but leave the group, so it still has a separator appended below).
1825+
1826+
<li>
1827+
For each remaining digit,
1828+
substitute the relevant ethiopic character from the list below.
1829+
18241830
<table class=data>
18251831
<thead>
18261832
<tr>
@@ -1908,7 +1914,9 @@ <h3 id='ethiopic-numeric-counter-style'>
19081914
except the group with index 0,
19091915
append ፼ U+137C.
19101916

1911-
<li>Concatenate the groups into one string.
1917+
<li>
1918+
Concatenate the groups into one string,
1919+
and return it.
19121920
</ol>
19131921

19141922
For this system, the name is "ethiopic-numeric",

0 commit comments

Comments
 (0)