- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Sat, 03 Sep 2022 10:08:51 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-fonts-4] Group sub-property related symbols in `font-variant` value definition ==
If the following change is not against any [non-defined rules applying to the CSS value definition syntax](https://github.com/w3c/csswg-drafts/issues/7582#issuecomment-1210838228), I would like each `font-variant` sub-properties to have its corresponding symbols grouped (between `[]`) in the `font-variant` value definition.
A CSS parser could automatically output a nested list of the component values matching the grouped symbols. This would avoid coupling the expansion function of `font-variant` to its current value definition.
```diff
normal
| none
| [
- <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values>
+ [<common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values>]
|| [small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps]
|| [
stylistic(<feature-value-name>)
|| historical-forms
|| styleset(<feature-value-name>#)
|| character-variant (<feature-value-name>#)
|| swash(<feature-value-name>)
|| ornaments(<feature-value-name>)
|| annotation(<feature-value-name>)
]
- || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero
+ || [<numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero]
- || <east-asian-variant-values> || <east-asian-width-values> || ruby
+ || [<east-asian-variant-values> || <east-asian-width-values> || ruby]
|| [sub | super]
|| [text | emoji | unicode]
]
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7683 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 3 September 2022 10:08:53 UTC