Skip to content

[css-counter-styles-3] Support automatically localized counters #7959

Open
@pols12

Description

@pols12

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 content language and user 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:

UAs and host languages should ensure that the 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    css-counter-styles-4i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions