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

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

== [css-fonts] Should `font-style: oblique 0deg` serialize as `oblique 0deg` or `normal`? ==
The WPT tests are a bit inconsistent on what they say, as are the implementations, but should `font-style: oblique 0deg` serialize as `oblique 0deg` or `normal`?

In https://wpt.fyi/results/css/css-fonts/variations/font-style-parsing.html, the test indicates `font-style: oblique 0deg` should serialize as is.

In https://wpt.fyi/results/css/css-fonts/animations/font-style-interpolation.html, the test indicates `font-style: oblique 0deg` should serialize as `normal`.

My guess is the animation test is wrong, as the spec, https://drafts.csswg.org/css-fonts-4/#font-style-prop, states that the computed value should be: 

> the keyword specified, plus angle in degrees if specified

and the animation type should be:

> by computed value type;[normal](https://drafts.csswg.org/css-fonts-4/#valdef-font-style-normal) animates as oblique 0deg

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


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

Received on Wednesday, 18 September 2024 15:22:59 UTC