Re: Proposing new values for list-style-type

Thanks for wanting to contribute and welcome! The W3C Internationalization Working Group maintains a list of ready-made international counter styles: https://w3c.github.io/predefined-counter-styles/

Issues or pull requests welcome: https://github.com/w3c/predefined-counter-styles

If you would like to add new list-style-type values to CSS, you can file an issue in the CSSWG repo: https://github.com/w3c/csswg-drafts

Fuqiao

> On Sep 16, 2020, at 6:04 PM, Amir E. Aharoni <amir.aharoni@mail.huji.ac.il> wrote:
> 
> Hi!
> 
> What is the way to propose new values for list-style-type?
> 
> In Wikipedia we have recently added support for three new languages:
> 1. Santali (Ol Chiki script)
> 2. N'Ko (N'Ko script)
> 3. Manipuri (Meetei script)
> 
> All of these writing systems have their own digits. The wiki editors in these languages asked to see ordered lists (<ol>) with their native digits. CSS has support for arabic-indic, armenian, hebrew, devanagari, malayalam, and many other systems, but not for these three scripts.
> 
> What is the right way to propose their addition to the standard? The values will probably be ol-chiki, nko, and meetei.
> 
> In the meantime, we made this kind of possible by adding the following CSS:
> @counter-style ol-chiki {
>     system: numeric;
>     symbols: "᱐" "᱑" "᱒" "᱓" "᱔" "᱕" "᱖" "᱗" "᱘" "᱙";
>     suffix: ". ";
> }
> 
> ol:lang( sat ) {
>     list-style-type: ol-chiki;
> }
> 
> This only works in Firefox because the WebKit family doesn't support @counter-style. But on Firefox it appears to do the right thing.
> 
> --
> Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
> http://aharoni.wordpress.com
> ‪“We're living in pieces,
> I want to live in peace.” – T. Moore‬

Received on Wednesday, 16 September 2020 10:47:35 UTC