Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[css-fonts-4] Clarify range constraints on descriptor values in <font-feature-value-type>#13324

Merged
svgeesus merged 2 commits into
w3c:mainw3c/csswg-drafts:mainfrom
cdoublev:pr-13324cdoublev/csswg-drafts:pr-13324Copy head branch name to clipboard
Apr 17, 2026
Merged

[css-fonts-4] Clarify range constraints on descriptor values in <font-feature-value-type>#13324
svgeesus merged 2 commits into
w3c:mainw3c/csswg-drafts:mainfrom
cdoublev:pr-13324cdoublev/csswg-drafts:pr-13324Copy head branch name to clipboard

Conversation

@cdoublev

Copy link
Copy Markdown
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>.

@cdoublev cdoublev added the css-fonts-4 Current Work label Jan 10, 2026
@fantasai
fantasai requested a review from svgeesus April 14, 2026 21:31
@svgeesus
svgeesus merged commit 4c2a00e into w3c:main Apr 17, 2026
1 check passed
@cdoublev
cdoublev deleted the pr-13324 branch April 17, 2026 19:01
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

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.