Skip to content

Commit 252d480

Browse files
committed
[css-counter-styles] Update issues-list, and rearrange the CJK section a bit for readability.
1 parent 37dcc1b commit 252d480

4 files changed

Lines changed: 216 additions & 218 deletions

File tree

css-counter-styles/Overview.bs

Lines changed: 72 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ Complex Predefined Counter Styles</h2>
15861586
-->
15871587

15881588
<h3 id='complex-cjk'>
1589-
Longhand East Asian Counter Styles: ''japanese-informal'', ''japanese-formal'', ''korean-hangul-formal'', ''korean-hanja-informal'', ''korean-hanja-formal'', ''simp-chinese-informal'', ''simp-chinese-formal'', ''trad-chinese-informal'', ''trad-chinese-formal''</h3>
1589+
Longhand East Asian Counter Styles</h3>
15901590

15911591
Chinese, Japanese, and Korean have counter styles
15921592
which have a “longhand” nature,
@@ -1595,57 +1595,10 @@ Longhand East Asian Counter Styles: ''japanese-informal'', ''japanese-formal'',
15951595
The formal styles are typically used in financial and legal documents,
15961596
as their characters are more difficult to alter into each other.
15971597

1598-
<dl>
1599-
<dt>japanese-informal
1600-
<dd>
1601-
Informal Japanese Kanji numbering
1602-
(e.g., 一万千百十一)
1603-
1604-
<dt>japanese-formal
1605-
<dd>
1606-
Formal Japanese Kanji numbering
1607-
(e.g. 壱萬壱阡壱百壱拾壱)
1608-
1609-
<dt>korean-hangul-formal
1610-
<dd>
1611-
Korean Hangul numbering
1612-
(e.g., 일만 일천일백일십일)
1613-
1614-
<dt>korean-hanja-informal
1615-
<dd>
1616-
Informal Korean Hanja numbering
1617-
(e.g., 萬 千百十一)
1618-
1619-
<dt>korean-hanja-formal
1620-
<dd>
1621-
Forman Korean Han (Hanja) numbering
1622-
(e.g., 壹萬 壹仟壹百壹拾壹)
1623-
1624-
<dt>simp-chinese-informal
1625-
<dd>
1626-
Simplified Chinese informal numbering
1627-
(e.g., 一万一千一百一十一)
16281598

1629-
<dt>simp-chinese-formal
1630-
<dd>
1631-
Simplified Chinese formal numbering
1632-
(e.g. 壹万壹仟壹佰壹拾壹)
16331599

1634-
<dt>trad-chinese-informal
1635-
<dd>
1636-
Traditional Chinese informal numbering
1637-
(e.g., 一萬一千一百一十一)
16381600

1639-
<dt>trad-chinese-formal
1640-
<dd>
1641-
Traditional Chinese informal numbering
1642-
(e.g., 壹萬壹仟壹佰壹拾壹)
16431601

1644-
<dt>cjk-ideographic
1645-
<dd>
1646-
This counter style is identical to ''trad-chinese-informal''.
1647-
(It exists for legacy reasons.)
1648-
</dl>
16491602

16501603
Note: The examples above show the number 11,111,
16511604
which is not often used as a counter value,
@@ -1786,10 +1739,12 @@ Longhand East Asian Counter Styles: ''japanese-informal'', ''japanese-formal'',
17861739
using the longhand CJK styles,
17871740
all of the counter styles defined in this section are defined to have a range of -9999 to 9999,
17881741
but implementations may support a larger range.
1789-
This specification does not currently define how to <a>generate a counter representation</a>
1790-
for values larger than the specified range,
1791-
but implementations are encouraged to research this and report back to the CSS Working Group with data
1792-
when an answer generally accepted to be correct is discovered.
1742+
Outside the implementation-supported range,
1743+
the fallback is ''cjk-decimal''.
1744+
1745+
Note: Implementations are encouraged to research and implement counter representations beyond 10k
1746+
and report back to the CSS Working Group with data
1747+
when a generally-accepted answer is discovered.
17931748

17941749
<!--
17951750
██ ████ ██ ██ ████ ████████ ████████ ████████ ██████ ██ ██ ██
@@ -1801,11 +1756,20 @@ Longhand East Asian Counter Styles: ''japanese-informal'', ''japanese-formal'',
18011756
████████ ████ ██ ██ ████ ██ ████████ ████████ ██████ ██████ ██ ██
18021757
-->
18031758

1804-
<h4 id='limited-cjk'>
1805-
Limited-range Implementation (required)</h4>
1759+
<h4 id='limited-japanese'>
1760+
Japanese: ''japanese-informal'' and ''japanese-formal''</h4>
18061761

1807-
<h5 id='limited-japanese' class="no-num no-toc">
1808-
Japanese</h5>
1762+
<dl>
1763+
<dt>japanese-informal
1764+
<dd>
1765+
Informal Japanese Kanji numbering
1766+
(e.g., 千百十一)
1767+
1768+
<dt>japanese-formal
1769+
<dd>
1770+
Formal Japanese Kanji numbering
1771+
(e.g. 壱阡壱百壱拾壱)
1772+
</dl>
18091773

18101774
<pre class='stylesheet' dfn-for="<counter-style-name>">
18111775
@counter-style <dfn value>japanese-informal</dfn> {
@@ -1834,8 +1798,25 @@ Japanese</h5>
18341798
</pre>
18351799

18361800

1837-
<h5 id=limited-korean class="no-num no-toc">
1838-
Korean</h5>
1801+
<h4 id=limited-korean>
1802+
Korean: ''korean-hangul-formal'', ''korean-hanja-informal'', and ''korean-hanja-formal''</h4>
1803+
1804+
<dl>
1805+
<dt>korean-hangul-formal
1806+
<dd>
1807+
Korean Hangul numbering
1808+
(e.g., 일천일백일십일)
1809+
1810+
<dt>korean-hanja-informal
1811+
<dd>
1812+
Informal Korean Hanja numbering
1813+
(e.g., 千百十一)
1814+
1815+
<dt>korean-hanja-formal
1816+
<dd>
1817+
Formal Korean Han (Hanja) numbering
1818+
(e.g., 壹仟壹百壹拾壹)
1819+
</dl>
18391820

18401821
<pre class='stylesheet' dfn-for="<counter-style-name>">
18411822
@counter-style <dfn value>korean-hangul-formal</dfn> {
@@ -1870,16 +1851,40 @@ Korean</h5>
18701851
</pre>
18711852

18721853

1873-
<h5 id='limited-chinese' class="no-num no-toc">
1874-
Chinese</h5>
1854+
<h4 id='limited-chinese'>
1855+
Chinese: ''simp-chinese-informal'', ''simp-chinese-formal'', ''trad-chinese-informal'', and ''trad-chinese-formal''</h4>
1856+
1857+
<dl>
1858+
<dt>simp-chinese-informal
1859+
<dd>
1860+
Simplified Chinese informal numbering
1861+
(e.g., 一千一百一十一)
1862+
1863+
<dt>simp-chinese-formal
1864+
<dd>
1865+
Simplified Chinese formal numbering
1866+
(e.g. 壹仟壹佰壹拾壹)
1867+
1868+
<dt>trad-chinese-informal
1869+
<dd>
1870+
Traditional Chinese informal numbering
1871+
(e.g., 一千一百一十一)
1872+
1873+
<dt>trad-chinese-formal
1874+
<dd>
1875+
Traditional Chinese informal numbering
1876+
(e.g., 壹仟壹佰壹拾壹)
1877+
1878+
<dt>cjk-ideographic
1879+
<dd>
1880+
This counter style is identical to ''trad-chinese-informal''.
1881+
(It exists for legacy reasons.)
1882+
</dl>
18751883

1876-
The Chinese longhand styles are defined over the range -9999 to 9999.
1877-
For numbers outside this range, the ''cjk-decimal'' style is used. All of the
1878-
styles are defined by almost identical algorithms (specified as a single
1879-
algorithm here, with the differences called out when relevant), but use
1880-
different sets of characters. The list following the algorithm gives the
1881-
name of each counter style using this algorithm, and the individual character
1882-
sets used by each style.
1884+
The Chinese longhand styles are defined by almost identical algorithms
1885+
(specified as a single algorithm here, with the differences called out when relevant),
1886+
but use different sets of characters,
1887+
as specified by the table following the algorithm.
18831888

18841889
<ol>
18851890
<li>If the counter value is 0, the representation is the character for 0

0 commit comments

Comments
 (0)