W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2017

[csswg-drafts] [css-fonts-4] Animation type font-weight, discrete?

From: Dominik Röttsches via GitHub <sysbot+gh@w3.org>
Date: Wed, 05 Jul 2017 11:13:00 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-240617474-1499253178-sysbot+gh@w3.org>
drott has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts-4] Animation type font-weight, discrete? ==
https://drafts.csswg.org/css-fonts-4/#font-weight-prop describes the animation type as "discrete". What does this mean and what is the intended behavior?

Does it refer to a behavior as defined in https://drafts.csswg.org/css-transitions/#animtype-font-weight, or is the intention to animate as https://drafts.csswg.org/css-transitions/#animtype-integer? Or should this rather be animated as <number>, same as stretch?

In my opinion, at least implementing this as discrete jumps from 100, 200, ..., 900 seems odd for variable fonts, which would make it necessary to use font-variation-settings to achieve a smooth weight animation.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1579 using your GitHub account
Received on Wednesday, 5 July 2017 11:13:06 UTC

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