Skip to content

[css-fonts] Consider always serializing the angle for font-style: oblique #8291

@nt1m

Description

@nt1m

Right now, the angle should only be serialized "if specified" according to the spec.
http://w3c.github.io/csswg-drafts/css-fonts-4/#font-style-prop

Given the default angle has changed from 20deg to 14deg, I think it is better to always serialize the angle for backwards compatibility, since a website may expect oblique to mean either.

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