[csswg-drafts] [css-backgrounds] background-size should be animatable if keywords match

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

== [css-backgrounds] background-size should be animatable if keywords 
match ==
By my reading of the background-size spec, values that use keywords 
are not animatable.

https://drafts.csswg.org/css-backgrounds/#the-background-size
> Animatable:   as repeatable list of simple list of length, 
percentage, or calc (This means keyword values are not animatable.)

This means that you can't animate from `background-size: 10px` to 
`background-size: 20px` due to the implicit presence of the auto 
keyword (`background-size: 10px` computes to `background-size: 10px 
auto`).

Chrome <=50, Firefox, Safari and Edge will animate the above example, 
IE doesn't animate background-size.
Chrome 51 stopped animating these cases and received a bug report 
about it: http://crbug.com/616072
Chrome intends to revert its behaviour for compatibility with other 
browsers and animate background-size when keywords are positionally 
matched.

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

Received on Wednesday, 1 June 2016 06:40:02 UTC