8000 [css-counter-styles] Move dfns for the CJK styles into the lists, not… · w3c/csswg-drafts@8d775cc · GitHub
Skip to content

Commit 8d775cc

Browse files
committed
[css-counter-styles] Move dfns for the CJK styles into the lists, not the stylesheets.
1 parent 252d480 commit 8d775cc

2 files changed

Lines changed: 72 additions & 71 deletions

File tree

css-counter-styles/Overview.bs

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1759,20 +1759,20 @@ Longhand East Asian Counter Styles</h3>
17591759
<h4 id='limited-japanese'>
17601760
Japanese: ''japanese-informal'' and ''japanese-formal''</h4>
17611761

1762-
<dl>
1763-
<dt>japanese-informal
1762+
<dl dfn-type="value" dfn-for="<counter-style>">
1763+
<dt><dfn id="japanese-informal">japanese-informal</dfn>
17641764
<dd>
17651765
Informal Japanese Kanji numbering
17661766
(e.g., 千百十一)
17671767

1768-
<dt>japanese-formal
1768+
<dt><dfn id="japanese-formal">japanese-formal</dfn>
17691769
<dd>
17701770
Formal Japanese Kanji numbering
17711771
(e.g. 壱阡壱百壱拾壱)
17721772
</dl>
17731773

1774-
<pre class='stylesheet' dfn-for="<counter-style-name>">
1775-
@counter-style <dfn value>japanese-informal</dfn> {
1774+
<pre class=stylesheet>
1775+
@counter-style japanese-informal {
17761776
system: additive;
17771777
range: -9999 9999;
17781778
additive-symbols: 9000 \4E5D\5343, 8000 \516B\5343, 7000 \4E03\5343, 6000 \516D\5343, 5000 \4E94\5343, 4000 \56DB\5343, 3000 \4E09\5343, 2000 \4E8C\5343, 1000 \5343, 900 \4E5D\767E, 800 \516B\767E, 700 \4E03\767E, 600 \516D\767E, 500 \4E94\767E, 400 \56DB\767E, 300 \4E09\767E, 200 \4E8C\767E, 100 \767E, 90 \4E5D\5341, 80 \516B\5341, 70 \4E03\5341, 60 \516D\5341, 50 \4E94\5341, 40 \56DB\5341, 30 \4E09\5341, 20 \4E8C\5341, 10 \5341, 9 \4E5D, 8 \516B, 7 \4E03, 6 \516D, 5 \4E94, 4 \56DB, 3 \4E09, 2 \4E8C, 1 \4E00, 0 \3007;
@@ -1784,7 +1784,7 @@ Japanese: ''japanese-informal'' and ''japanese-formal''</h4>
17841784
fallback: cjk-decimal;
17851785
}
17861786

1787-
@counter-style <dfn value>japanese-formal</dfn> {
1787+
@counter-style japanese-formal {
17881788
system: additive;
17891789
range: -9999 9999;
17901790
additive-symbols: 9000 \4E5D\9621, 8000 \516B\9621, 7000 \4E03\9621, 6000 \516D\9621, 5000 \4F0D\9621, 4000 \56DB\9621, 3000 \53C2\9621, 2000 \5F10\9621, 1000 \58F1\9621, 900 \4E5D\767E, 800 \516B\767E, 700 \4E03\767E, 600 \516D\767E, 500 \4F0D\767E, 400 \56DB\767E, 300 \53C2\767E, 200 \5F10\767E, 100 \58F1\767E, 90 \4E5D\62FE, 80 \516B\62FE, 70 \4E03\62FE, 60 \516D\62FE, 50 \4F0D\62FE, 40 \56DB\62FE, 30 \53C2\62FE, 20 \5F10\62FE, 10 \58F1\62FE, 9 \4E5D, 8 \516B, 7 \4E03, 6 \516D, 5 \4F0D, 4 \56DB, 3 \53C2, 2 \5F10, 1 \58F1, 0 \96F6;
@@ -1801,25 +1801,25 @@ Japanese: ''japanese-informal'' and ''japanese-formal''</h4>
18011801
<h4 id=limited-korean>
18021802
Korean: ''korean-hangul-formal'', ''korean-hanja-informal'', and ''korean-hanja-formal''</h4>
18031803

1804-
<dl>
1805-
<dt>korean-hangul-formal
1804+
<dl dfn-for="<counter-style-name>" dfn-type="value">
1805+
<dt><dfn id="korean-hangul-formal">korean-hangul-formal</dfn>
18061806
<dd>
18071807
Korean Hangul numbering
18081808
(e.g., 일천일백일십일)
18091809

1810-
<dt>korean-hanja-informal
1810+
<dt><dfn id="korean-hanja-informal">korean-hanja-informal</dfn>
18111811
<dd>
18121812
Informal Korean Hanja numbering
18131813
(e.g., 千百十一)
18141814

1815-
<dt>korean-hanja-formal
1815+
<dt><dfn id="korean-hanja-formal">korean-hanja-formal</dfn>
18161816
<dd>
18171817
Formal Korean Han (Hanja) numbering
18181818
(e.g., 壹仟壹百壹拾壹)
18191819
</dl>
18201820

1821-
<pre class='stylesheet' dfn-for="<counter-style-name>">
1822-
@counter-style <dfn value>korean-hangul-formal</dfn> {
1821+
<pre class=stylesheet>
1822+
@counter-style korean-hangul-formal {
18231823
system: additive;
18241824
range: -9999 9999;
18251825
additive-symbols: 9000 \AD6C\CC9C, 8000 \D314\CC9C, 7000 \CE60\CC9C, 6000 \C721\CC9C, 5000 \C624\CC9C, 4000 \C0AC\CC9C, 3000 \C0BC\CC9C, 2000 \C774\CC9C, 1000 \C77C\CC9C, 900 \AD6C\BC31, 800 \D314\BC31, 700 \CE60\BC31, 600 \C721\BC31, 500 \C624\BC31, 400 \C0AC\BC31, 300 \C0BC\BC31, 200 \C774\BC31, 100 \C77C\BC31, 90 \AD6C\C2ED, 80 \D314\C2ED, 70 \CE60\C2ED, 60 \C721\C2ED, 50 \C624\C2ED, 40 \C0AC\C2ED, 30 \C0BC\C2ED, 20 \C774\C2ED, 10 \C77C\C2ED, 9 \AD6C, 8 \D314, 7 \CE60, 6 \C721, 5 \C624, 4 \C0AC, 3 \C0BC, 2 \C774, 1 \C77C, 0 \C601;
@@ -1829,7 +1829,7 @@ Korean: ''korean-hangul-formal'', ''korean-hanja-informal'', and ''korean-hanja-
18291829
/* 마이너스 (followed by a space) */
18301830
}
18311831

1832-
@counter-style <dfn value>korean-hanja-informal</dfn> {
1832+
@counter-style korean-hanja-informal {
18331833
system: additive;
18341834
range: -9999 9999;
18351835
additive-symbols: 9000 \4E5D\5343, 8000 \516B\5343, 7000 \4E03\5343, 6000 \516D\5343, 5000 \4E94\5343, 4000 \56DB\5343, 3000 \4E09\5343, 2000 \4E8C\5343, 1000 \5343, 900 \4E5D\767E, 800 \516B\767E, 700 \4E03\767E, 600 \516D\767E, 500 \4E94\767E, 400 \56DB\767E, 300 \4E09\767E, 200 \4E8C\767E, 100 \767E, 90 \4E5D\5341, 80 \516B\5341, 70 \4E03\5341, 60 \516D\5341, 50 \4E94\5341, 40 \56DB\5341, 30 \4E09\5341, 20 \4E8C\5341, 10 \5341, 9 \4E5D, 8 \516B, 7 \4E03, 6 \516D, 5 \4E94, 4 \56DB, 3 \4E09, 2 \4E8C, 1 \4E00, 0 \96F6;
@@ -1839,7 +1839,7 @@ Korean: ''korean-hangul-formal'', ''korean-hanja-informal'', and ''korean-hanja-
18391839
/* 마이너스 (followed by a space) */
18401840
}
18411841

1842-
@counter-style <dfn value>korean-hanja-formal</dfn> {
1842+
@counter-style korean-hanja-formal {
18431843
system: additive;
18441844
range: -9999 9999;
18451845
additive-symbols: 9000 \4E5D\4EDF, 8000 \516B\4EDF, 7000 \4E03\4EDF, 6000 \516D\4EDF, 5000 \4E94\4EDF, 4000 \56DB\4EDF, 3000 \53C3\4EDF, 2000 \8CB3\4EDF, 1000 \58F9\4EDF, 900 \4E5D\767E, 800 \516B\767E, 700 \4E03\767E, 600 \516D\767E, 500 \4E94\767E, 400 \56DB\767E, 300 \53C3\767E, 200 \8CB3\767E, 100 \58F9\767E, 90 \4E5D\62FE, 80 \516B\62FE, 70 \4E03\62FE, 60 \516D\62FE, 50 \4E94\62FE, 40 \56DB\62FE, 30 \53C3\62FE, 20 \8CB3\62FE, 10 \58F9\62FE, 9 \4E5D, 8 \516B, 7 \4E03, 6 \516D, 5 \4E94, 4 \56DB, 3 \53C3, 2 \8CB3, 1 \58F9, 0 \96F6;
@@ -1854,28 +1854,28 @@ Korean: ''korean-hangul-formal'', ''korean-hanja-informal'', and ''korean-hanja-
18541854
<h4 id='limited-chinese'>
18551855
Chinese: ''simp-chinese-informal'', ''simp-chinese-formal'', ''trad-chinese-informal'', and ''trad-chinese-formal''</h4>
18561856

1857-
<dl>
1858-
<dt>simp-chinese-informal
1857+
<dl dfn-type="value" dfn-for="<counter-style>">
1858+
<dt><dfn id="simp-chinese-informal">simp-chinese-informal</dfn>
18591859
<dd>
18601860
Simplified Chinese informal numbering
18611861
(e.g., 一千一百一十一)
18621862

1863-
<dt>simp-chinese-formal
1863+
<dt><dfn id="simp-chinese-formal">simp-chinese-formal</dfn>
18641864
<dd>
18651865
Simplified Chinese formal numbering
18661866
(e.g. 壹仟壹佰壹拾壹)
18671867

1868-
<dt>trad-chinese-informal
1868+
<dt><dfn id="trad-chinese-informal">trad-chinese-informal</dfn>
18691869
<dd>
18701870
Traditional Chinese informal numbering
18711871
(e.g., 一千一百一十一)
18721872

1873-
<dt>trad-chinese-formal
1873+
<dt><dfn id="trad-chinese-formal">trad-chinese-formal</dfn>
18741874
<dd>
18751875
Traditional Chinese informal numbering
18761876
(e.g., 壹仟壹佰壹拾壹)
18771877

1878-
<dt>cjk-ideographic
1878+
<dt><dfn id="cjk-ideographic">cjk-ideographic</dfn>
18791879
<dd>
18801880
This counter style is identical to ''trad-chinese-informal''.
18811881
(It exists for legacy reasons.)
@@ -1918,10 +1918,10 @@ Chinese: ''simp-chinese-informal'', ''simp-chinese-formal'', ''trad-chinese-info
19181918
<th rowspan=2 scope=col>Values
19191919
<th colspan=4 scope=col>Codepoints
19201920
<tr dfn-for="<counter-style-name>">
1921-
<th><dfn value>simp-chinese-informal</dfn>
1922-
<th><dfn value>simp-chinese-formal</dfn>
1923-
<th><dfn value>trad-chinese-informal</dfn>
1924-
<th><dfn value>trad-chinese-formal</dfn>
1921+
<th>simp-chinese-informal
1922+
<th>simp-chinese-formal
1923+
<th>trad-chinese-informal
1924+
<th>trad-chinese-formal
19251925
</thead>
19261926
<tbody>
19271927
<tr>

0 commit comments

Comments
 (0)