- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Jun 2023 17:27:34 +0000
- To: public-css-archive@w3.org
Proposed grammar: ```css /* generically */ @generic-counter-style <generic-family-name> [ <lang-tag> <counter-style-name> ]#; /* specific examples */ @generic-counter-style numbers "en" decimal, "zh" cjk-decimal; @generic-counter-style letters /* same stuff */; ``` The generic names are predefined, like generic font families. I think "numbers" is reasonable as a name but we'd probably want to come up with a better name for "letters". These generic names would be added to the list of non-overrideable names. Multiple occurrences of the rule for a given generic family cascade together; you can override a given language's associated style. Language tags already have a notion of hierarchy, so we'd apply that here a la shorthands - `"en" trinary` would override a preceding `"en"`, but also all preceding `"en-US"`, `"en-GB"`, etc pairs. If there's no matching language tag we fall back to a basic maximally-compatible one: `numbers` defaults to `decimal`, `letters` defaults to `lower-alpha`. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7959#issuecomment-1601286973 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 21 June 2023 17:27:35 UTC