Skip to content

[css-fonts-4] Prioritizing font-stretch over font-weight seems wrong #2537

@fantasai

Description

@fantasai

The font matching algorithm https://drafts.csswg.org/css-fonts-4/#font-style-matching is written in a way that it prioritizes font-stretch over font-weight. For example, if there is a font which has two widths, normal and wide, and only has a bold font for normal, and the author specifies wide bold, we'll get wide rather than bold, and I think we probably want bold rather than wide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions