[css-fonts] Should `font-style: oblique 14deg` serialize as `font-style: oblique`?
@svgeesus is already working on this.
Since Apr 17, 2026.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
Following on from the discussion in https://github.com/w3c/csswg-drafts/issues/11430, the additional question of the serialization of font-style: oblique 14deg was raised.
Following the rule of "shortest serialization", there is an argument to made that font-style: oblique 14deg should serialize as font-style: oblique, as the spec states that font-style: oblique (with no angle given) should use an angle of 14 degrees:
[...] The lack of an
<angle>represents 14deg. (Note that a font might internally provide its own mapping for "oblique", but the mapping within the font is disregarded.) [...] (https://drafts.csswg.org/css-fonts-4/#font-style-prop)
Whether or not this argument holds, the spec should be explicit if this behavior is expected.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.