Skip to content

css/css-fonts/standard-font-family-20.html is invalid #62623

Open

Description

@Scony

As per https://drafts.csswg.org/css-fonts-4/#local-font-fallback

CSS-wide keywords such as inherit, and <generic-font-family> keywords such as serif are not allowed inside local().

And as per https://drafts.csswg.org/css-fonts-4/#typedef-generic-font-family

<generic-font-family> = (...) = ui-sans-serif

Therefore the test css/css-fonts/standard-font-family-20.html is invalid as it uses src: local("ui-sans-serif"); and expects it to work.

CC @litherum

Activity

  1. Annu22786 commented on Sep 20, 2026

    @Annu22786

    Can u assign this to me

  2. Scony commented on Sep 21, 2026

    @Scony
    ContributorAuthor

    Can u assign this to me

    Done. Btw. IMO same tests but with numbers 11-16 and 19 are invalid as well - but that would need to be confirmed.

  3. feiye-luna2 commented on Sep 26, 2026

    @feiye-luna2

    i meet the same problem

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions