[csswg-drafts] [css-counter-styles] Suggestion for new styles

c933103 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-counter-styles] Suggestion for new styles ==
Proposed addition to https://drafts.csswg.org/css-counter-styles/#predefined-counters :

suzhou-numeral

The rule for this numeral is displayed at https://en.wikipedia.org/wiki/Suzhou_numerals - as sometimes it needs to rotate some numeral, I guess it should be a complex counter.

cjk-tally-mark

```
@counter-style cjk-tally-mark{
  system: additive;
  additive-symbols: 5 "\1D376", 4 "\1D375", 3 "\1D374", 2 "\1D373", 1 "\1D372";
  /* Relevant chracters still in proposal status in Unicode, see https://blogs.adobe.com/CCJKType/2016/01/ideographic-tally-marks.html */
  suffix: " ";
}
```

cjk-stem-branch

```
@counter-style cjk-stem-branch {
  system: cyclic;
  symbols:
 "\7532\5B50"" "\4E59\4E11" "\4E19\5BC5" "\4E01\536F" "\620A\8FB0" "\5DF1\5DF3" "\5E9A\5348" "\8F9B\672A" "\58EC\7533" "\7678\9149";
  /* 甲子 乙丑 丙寅 丁卯 戊辰 己巳 庚午 辛未 壬申 癸酉 */
 "\7532\620C" "\4E59\4EA5" "\4E19\5B50"" "\4E01\4E11" "\620A\5BC5" "\5DF1\536F" "\5E9A\8FB0" "\8F9B\5DF3" "\58EC\5348" "\7678\672A";
  /* 甲戌 乙亥 丙子 丁丑 戊寅 己卯 庚辰 辛巳 壬午 癸未 */
 "\7532\7533" "\4E59\9149" "\4E19\620C" "\4E01\4EA5" "\620A\5B50"" "\5DF1\4E11" "\5E9A\5BC5" "\8F9B\536F" "\58EC\8FB0" "\7678\5DF3";
  /* 甲申 乙酉 丙戌 丁亥 戊子 己丑 庚寅 辛卯 壬辰 癸巳 */
 "\7532\5348" "\4E59\672A" "\4E19\7533" "\4E01\9149" "\620A\620C" "\5DF1\4EA5" "\5E9A\5B50"" "\8F9B\4E11" "\58EC\5BC5" "\7678\536F";
  /* 甲午 乙未 丙申 丁酉 戊戌 己亥 庚子 辛丑 壬寅 癸卯 */
 "\7532\8FB0" "\4E59\5DF3" "\4E19\5348" "\4E01\672A" "\620A\7533" "\5DF1\9149" "\5E9A\620C" "\8F9B\4EA5" "\58EC\5B50"" "\7678\4E11";
  /* 甲辰 乙巳 丙午 丁未 戊申 己酉 庚戌 辛亥 壬子 癸丑 */
 "\7532\5BC5" "\4E59\536F" "\4E19\8FB0" "\4E01\5DF3" "\620A\5348" "\5DF1\672A" "\5E9A\7533" "\8F9B\9149" "\58EC\620C" "\7678\4EA5";
  /* 甲寅 乙卯 丙辰 丁巳 戊午 己未 庚申 辛酉 壬戌 癸亥 */
  suffix: "、";
}
```


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2097 using your GitHub account

Received on Saturday, 9 December 2017 19:56:18 UTC