Skip to content

[css-font-4][varfont] hyphens or spaces #783

@frivoal

Description

@frivoal

We have the following syntax for the descriptors:

font-style: normal | italic | oblique [ <angle> | <angle>-<angle> ] ?

font-weight: normal | bold | [ <number> | <number>-<number> ]

font-stretch: normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | [ <percentage> | <percentage>-<percentage> ]

I am not convinced we need the hyphens. How about making the syntax lighter, and using spaces instead?

font-style: ... [ <angle> | <angle> <angle> ] ?

font-weight: ... [ <number> | <number> <number> ]

font-stretch: ... [ <percentage> | <percentage> <percentage> ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions