Re: Suggestion for extra markers in CSS list-style-type Property

On Sat, Dec 9, 2017, at 02:43 AM, Phake Nick wrote:
> Currently, for Chinese users, there is a "cjk-ideographic" property
> value which allows users to create an ordered list with Chinese
> numeral for 1, 2, 3 in css. However, there are some as commonly used
> Chinese marker for the ordered list that are not included in the
> property, including: The big writing for these numbers (See
> http://en.wikipedia.org/wiki/Chinese_numbers#Standard_numbers), The
> Celestial stem numbering (see
> http://en.wikipedia.org/wiki/Celestial_stem), and then nowdays less
> common but still being used are the Earthly branches ordering (see
> http://en.wikipedia.org/wiki/Earthly_Branches) as well as the Suzhou
> numerals (see http://en.wikipedia.org/wiki/Suzhou_numerals). Would it
> be possible for the css property to include all these ordering
> methods?
CSS Counter Styles Level 3 already defines many more Chinese markers.
The big writings are defined as {simpl,trad}-chinese-{formal,informal}
[1] and Earthly branch and Heavenly stems are defined as cjk-earthly-
branch and cjk-heavenly-stem correspondingly [2].
Suzhou numerals are not specified in that spec, but there is a chance
it can be defined with the newly-introduced @counter-style at-rule in
the spec [3].
So most of those you are requesting have been in the spec (and the spec
has been in Candidate Recommendation for quite a while), and Firefox has
implemented them since long ago [4]. If you want the support in other
browsers, you should probably file bugs to them.
[1] https://drafts.csswg.org/css-counter-styles/#limited-chinese
[2] https://drafts.csswg.org/css-counter-styles/#valdef-counter-style-name-cjk-earthly-branch[3] https://drafts.csswg.org/css-counter-styles/#the-counter-style-rule[4] https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type#Browser_compatibility

- Xidorn

Received on Friday, 8 December 2017 16:11:03 UTC