Skip to content

Font-stretch percentages are not supported in Chrome 143.0.7499.193 in the font shorthand rule #1140

@tim-evans

Description

@tim-evans

Hello! While using this package to handle compressing CSS, I noticed some font declarations were not coming through correctly, specifically I was seeing the following transformation:

font: 400 condensed 36px/38px "TeX Gyre Heros";
font: 400 75% 36px/38px TeX Gyre Heros;

Which caused an error that showed

Image

instead of

Image

I noticed that font-stretch as a standalone property produced the correct result, but inside of the font shorthand property, it would not render, likely due to a bug in Chrome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions