[csswg-drafts] [css-fonts-4] font-variation-settings says it's animation like transform, but it's actually substantially different

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

== [css-fonts-4] font-variation-settings says it's animation like transform, but it's actually substantially different ==
The [definition of font-variation-settings](https://drafts.csswg.org/css-fonts-4/#propdef-font-variation-settings) says:

> Animating font-variation-settings is possible using a mechanism similar to animating the transform property: Two declarations of font-feature-settings can be animated between if they are "like". "Like" declarations are ones where the same set of properties appear (in any order). If two declarations are "like" then animation occurs pairwise between corresponding values in the declarations. Otherwise, animation is not possible. In this situation, the "from" values of the animation are swapped to the "to" values at an unspecified time during the animation.

This seems inaccurate since animation of `transform` only matches types in the same order, whereas animation of `font-variation-settings` seems to match as long as the same set occurs in any order.

(It should perhaps also say something about the superseding rule applying before the animation rule?)

(I got here from w3ctag/design-reviews#183.)

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

Received on Wednesday, 5 July 2017 15:57:57 UTC