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

From my point of view, serialising `oblique 14deg` as `oblique` may lose authorial intent.

An author who writes `oblique` is requesting the default (whatever it might be), whereas one who writes `oblique 14deg` (or a `calc()` expression that resolves to it) is requesting a specific angle.

Furthermore, each engine quantises angles to a different internal fixed-point precision and therefore there are unexpected interoperability effects at the margins.

Consider, for example, **`oblique 14.2deg`**. Naively, one might expect that values to serialise to itself, however:

- Chrome computes is as `italic` (non spec-compliant).
- WebKit rounds the angle to `14deg` and computes that value to `oblique`.
- Firefox uses a different rounding and computes the value to `oblique 14.1992deg`.

https://github.com/w3c/csswg-drafts/issues/11633

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


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

Received on Friday, 17 April 2026 01:21:06 UTC