W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2018

[csswg-drafts] [css-fonts] value of `font-style`: `normal` vs. `oblique 0deg; `

From: jfkthame via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Apr 2018 15:16:11 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-311653830-1522941370-sysbot+gh@w3.org>
jfkthame has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts] value of `font-style`: `normal` vs. `oblique 0deg;` ==
At https://drafts.csswg.org/css-fonts-4/#valdef-font-style-normal, the draft spec says that `normal` 

> represents an oblique value of "0".

However, it is not clear to me from the spec exactly what this means. Given a non-variable font, with the typical Regular and Italic faces, which face will `font-style: oblique 0deg;` select?

(According to my testing, Chrome and MSEdge disagree on the answer to this.)

And with regard to animation, we find

> If both "from" and "to" values are "oblique", then yes, as anĀ `<angle>`. Otherwise, no.

Does `normal` count as `oblique 0deg` for this purpose, such that `font-style` could be animated as an `<angle>` from `normal` to `oblique 15deg` or not?



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2505 using your GitHub account
Received on Thursday, 5 April 2018 15:16:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:28 UTC