Skip to content

[css-fonts] Grammar of <feature-value-name> #1000

@SimonSapin

Description

@SimonSapin

The grammar for the value of font-variant-alternates https://drafts.csswg.org/css-fonts/#propdef-font-variant-alternates links its values to their respective definitions, for example stylistic(<feature-value-name>) is i link to https://drafts.csswg.org/css-fonts/#stylistic.

However once we’re there, stylistic(<feature-value-name>) is repeated but without any link. I couldn’t find the definition for the grammar of <feature-value-name>. Based on reading other sections of the spec I think it’s supposed to be a single identifier. There should be a definition (maybe <feature-value-name> = <custom-ident> ? https://drafts.csswg.org/css-values/#custom-idents) and it should be linked every time <feature-value-name> is used elsewhere, like for example in https://drafts.csswg.org/css-fonts/#stylistic.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions