Open weinig opened 1 month ago
Not familiar with this, but they seem to have different behaviors, so I would expect different serializations
normal
: Matches against a face that is classified as a normal face, one that is neither italic or obliqued.oblique <angle>
: Controls matching against an oblique face.
The WPT tests are a bit inconsistent on what they say, as are the implementations, but should
font-style: oblique 0deg
serialize asoblique 0deg
ornormal
?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 asnormal
.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:
and the animation type should be: