Skip to content

[css-fonts-4] Wide gamut @font-palette-values entries and platform limitations #6916

@drott

Description

@drott

https://drafts.csswg.org/css-fonts/#font-family-2-desc

says:

Value: <'font-family'>

linking to

https://drafts.csswg.org/css-fonts/#propdef-font-family

which is:

Value: <family-name> | <generic-family> ]#

which makes it look like

  1. the font-family descriptor in @font-palette-values should be able to assume a comma-separated list of family names as a value, which I don't think is the case.

  2. generic family names are allowed here, which is also not the case according to the prose in 9.2.1.

I suggest to use a different, new value type definition to fix this.

CC @svgeesus @litherum

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Friday Morning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions