- From: Amir E. Aharoni <amir.aharoni@mail.huji.ac.il>
- Date: Wed, 16 Sep 2020 13:25:00 +0300
- To: www-style@w3.org
- Message-ID: <CACtNa8vh-__=9Ux216-2h2RLxL7S3L-Jk_2=392kTYb9AYuvpg@mail.gmail.com>
Sorry, sent it without examples of where it works.
Here are real Wikipedia in these languages that have this style applied.
Manipuri: https://incubator.wikimedia.org/w/index.php?oldid=4589559 (in the
section "ꯎꯁꯦꯏꯒꯤ ꯀꯥꯟꯅꯕꯁꯤꯡ")
N'Ko: https://nqo.wikipedia.org/w/index.php?oldid=6178 (towards the end)
Santali: https://sat.wikipedia.org/w/index.php?oldid=56112 (in the section
"ᱨᱟᱡᱽᱜᱟᱲ")
Again, all of these will only work in Firefox.
We'd love to not have to use @counter-style, and to do something like the
following:
ol:lang( mni ) {
list-style-type: meetei;
}
ol:lang( nqo ) {
list-style-type: nko;
}
ol:lang( sat ) {
list-style-type: ol-chiki;
}
... Just like we already do
ol:lang( hi ),
ol:lang( mr ),
ol:lang( ne ) {
list-style-type: devanagari;
}
--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
“We're living in pieces,
I want to live in peace.” – T. Moore
בתאריך יום ד׳, 16 בספט׳ 2020 ב-13:04 מאת Amir E. Aharoni <
amir.aharoni@mail.huji.ac.il>:
> 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:25:26 UTC