Skip to content

Conversation

@cdoublev
Copy link
Collaborator

Fixes #9926.

Descriptor values in <font-feature-value-type> rules are currently defined with:

Each declaration’s value must match the grammar <integer [0,∞]>+ [...]

https://drafts.csswg.org/css-fonts-4/#font-feature-values-syntax

As commented in the referenced issue, [0,∞] is not appropriate for all <feature-value-name>.

This PR makes use of <feature-index> but renamed to <font-feature-index>, which is similar to the suggestion to rename <family-name>, in order to avoid using generic production names for specific contexts.

Similarly, <feature-value-name> is also renamed to <font-feature-value-name>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css-fonts-4 Current Work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[css-fonts-4] Missing restrictions of multi-valued feature values

1 participant