[csswg-drafts] [css-counter-styles-3] Support automatically localized counters (#7959)

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

== [css-counter-styles-3] Support automatically localized counters ==
Similarly to `inline-start` keyword which may mean “right” or “left” depending on the language, I think we should support
* `digits` as an alias of `decimal` on English pages, `arabic-indic` on Arabic pages, `armenian` on Armenian pages…
* `lower-alpha` as an alias of `lower-latin` on English pages, `hiragana` on Japanese pages…
* and maybe `bullet` as an alias of `disc` on English pages… (because I suppose the list bullet is also culture-dependant).

With these generic keywords, the user agent should use the counter symbols which are the most appropriate given user language and preferences.

Affected: https://www.w3.org/TR/css-counter-styles-3/#predefined-counters

That would also extend and simplify the following [css-list-3 recommendation](https://www.w3.org/TR/css-lists-3/#list-item-counter):
> UAs and host languages should ensure that the [list-item](https://www.w3.org/TR/css-lists-3/#valdef-counter-increment-list-item) counter values by default reflect the underlying numeric value dictated by host language semantics when setting up list item styling in their UA style sheet and presentational hint style mappings.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 26 October 2022 17:21:31 UTC