[csswg-drafts] [css-fonts] Should `font-style: oblique 0deg` serialize as `font-style: normal`? (#11430)

nt1m has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts] Should `font-style: oblique 0deg` serialize as `font-style: normal`? ==
In #2505, there was consensus to not serialize `normal` to `oblique 0deg` for backwards compat reasons, but interpolation should always use `oblique 0deg`.

This behavior is only implemented in Safari Technology Preview as it stands: https://wpt.fyi/results/css/css-fonts/animations/font-style-interpolation.html?label=master&label=experimental&aligned&q=font-style

Other browsers serialize as `normal`, which seems against the current specification: https://drafts.csswg.org/css-fonts-4/#font-style-prop

There are a couple of options:
* Keep spec as is, update WPT to match spec and Safari Tech Preview behavior
* Change the computed value of `oblique 0deg` to be `normal` all the time, even outside of animations (shortest serialization rule)
* Revert #2505, interpolate with `normal` as current WPT expect

cc @svgeesus @weinig @karlcow @jfkthame @tursunova @drott @tabatkins @fantasai 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11430 using your GitHub account


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

Received on Friday, 3 January 2025 01:31:38 UTC