Skip to content

Commit deb2e39

Browse files
committed
[css-counter-styles-3] Change cjk-earthly-branch and cjk-heavenly-stem to fixed
1 parent 1ec71fb commit deb2e39

File tree

1 file changed

+34
-25
lines changed

1 file changed

+34
-25
lines changed

css-counter-styles-3/Overview.bs

+34-25
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,7 @@ Numeric: ''decimal'', ''decimal-leading-zero'', ''arabic-indic'', ''armenian'',
16321632

16331633

16341634
<h3 id='simple-alphabetic'>
1635-
Alphabetic: ''lower-alpha'', ''lower-latin'', ''upper-alpha'', ''upper-latin'', ''cjk-earthly-branch'', ''cjk-heavenly-stem'', ''lower-greek'', ''hiragana'', ''hiragana-iroha'', ''katakana'', ''katakana-iroha''</h3>
1635+
Alphabetic: ''lower-alpha'', ''lower-latin'', ''upper-alpha'', ''upper-latin'', ''lower-greek'', ''hiragana'', ''hiragana-iroha'', ''katakana'', ''katakana-iroha''</h3>
16361636

16371637
<dl dfn-type=value dfn-for="<counter-style-name>">
16381638
<dt><dfn id=lower-alpha>lower-alpha</dfn>
@@ -1647,16 +1647,6 @@ Alphabetic: ''lower-alpha'', ''lower-latin'', ''upper-alpha'', ''upper-latin'',
16471647
Uppercase ASCII letters
16481648
(e.g., A, B, C, ..., Z, AA, AB).
16491649

1650-
<dt><dfn>cjk-earthly-branch</dfn>
1651-
<dd>
1652-
Han "Earthly Branch" ordinals
1653-
(e.g., 子, 丑, 寅, ..., 亥, 子子, 子丑).
1654-
1655-
<dt><dfn>cjk-heavenly-stem</dfn>
1656-
<dd>
1657-
Han "Heavenly Stem" ordinals
1658-
(e.g., 甲, 乙, 丙, ..., 癸, 甲甲, 甲乙).
1659-
16601650
<dt><dfn id=lower-greek>lower-greek</dfn>
16611651
<dd>
16621652
Lowercase classical Greek
@@ -1704,20 +1694,6 @@ Alphabetic: ''lower-alpha'', ''lower-latin'', ''upper-alpha'', ''upper-latin'',
17041694
system: extends upper-alpha;
17051695
}
17061696

1707-
@counter-style cjk-earthly-branch {
1708-
system: alphabetic;
1709-
symbols: "\5B50" "\4E11" "\5BC5" "\536F" "\8FB0" "\5DF3" "\5348" "\672A" "\7533" "\9149" "\620C" "\4EA5";
1710-
/* 子 丑 寅 卯 辰 巳 午 未 申 酉 戌 亥 */
1711-
suffix: "、";
1712-
}
1713-
1714-
@counter-style cjk-heavenly-stem {
1715-
system: alphabetic;
1716-
symbols: "\7532" "\4E59" "\4E19" "\4E01" "\620A" "\5DF1" "\5E9A" "\8F9B" "\58EC" "\7678";
1717-
/* 甲 乙 丙 丁 戊 己 庚 辛 壬 癸 */
1718-
suffix: "、";
1719-
}
1720-
17211697
@counter-style lower-greek {
17221698
system: alphabetic;
17231699
symbols: "\3B1" "\3B2" "\3B3" "\3B4" "\3B5" "\3B6" "\3B7" "\3B8" "\3B9" "\3BA" "\3BB" "\3BC" "\3BD" "\3BE" "\3BF" "\3C0" "\3C1" "\3C3" "\3C4" "\3C5" "\3C6" "\3C7" "\3C8" "\3C9";
@@ -1831,6 +1807,39 @@ Symbolic: ''disc'', ''circle'', ''square'', ''disclosure-open'', ''disclosure-cl
18311807
while the ''disclosure-open'' style might use the character
18321808
U+25BE BLACK DOWN-POINTING SMALL TRIANGLE (▾).
18331809

1810+
<h3 id='simple-fixed'>
1811+
Fixed: ''cjk-earthly-branch'', ''cjk-heavenly-stem''</h3>
1812+
1813+
<dl dfn-type=value dfn-for="<counter-style-name>">
1814+
<dt><dfn>cjk-earthly-branch</dfn>
1815+
<dd>
1816+
Han "Earthly Branch" ordinals
1817+
(e.g., 子, 丑, 寅, ..., 亥).
1818+
1819+
<dt><dfn>cjk-heavenly-stem</dfn>
1820+
<dd>
1821+
Han "Heavenly Stem" ordinals
1822+
(e.g., 甲, 乙, 丙, ..., 癸)
1823+
</dl>
1824+
1825+
The following stylesheet fragment provides the normative definition of these predefined counter styles:
1826+
1827+
<pre class='stylesheet'><bdo dir=ltr>
1828+
@counter-style cjk-earthly-branch {
1829+
system: fixed;
1830+
symbols: "\5B50" "\4E11" "\5BC5" "\536F" "\8FB0" "\5DF3" "\5348" "\672A" "\7533" "\9149" "\620C" "\4EA5";
1831+
/* 子 丑 寅 卯 辰 巳 午 未 申 酉 戌 亥 */
1832+
suffix: "、";
1833+
}
1834+
1835+
@counter-style cjk-heavenly-stem {
1836+
system: fixed;
1837+
symbols: "\7532" "\4E59" "\4E19" "\4E01" "\620A" "\5DF1" "\5E9A" "\8F9B" "\58EC" "\7678";
1838+
/* 甲 乙 丙 丁 戊 己 庚 辛 壬 癸 */
1839+
suffix: "、";
1840+
}
1841+
</bdo></pre>
1842+
18341843
<!-- ======================================================================= -->
18351844

18361845
<h2 id='complex-predefined-counters'>

0 commit comments

Comments
 (0)