Re: [csswg-drafts] [css-fonts-4] Consider always serializing the angle for `font-style: oblique` (#8291)

@svgeesus @jfkthame @nt1m

Currently [CSS Fonts 4 - 2.4](https://www.w3.org/TR/css-fonts-4/#font-style-prop) states:

> Name:  font-style
> …
> Computed value:  the keyword specified, plus angle in degrees if specified

My reading of that is that the computed value should preserve the author's intent:

- `font-style: oblique` computes as `oblique`
- `font-style: oblique 14deg` computes as `oblique 14deg`

If it is decided to follow this route, perhaps the spec should specify that the lack of an `<angle>` represents `14deg` at used-value time.

-- 
GitHub Notification of comment by felipeerias
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8291#issuecomment-4343371188 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 29 April 2026 11:45:48 UTC