W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2016

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

From: alancutter via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 Jun 2016 06:39:59 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-157834211-1464763199-sysbot+gh@w3.org>
alancutter has just created a new issue for 

== [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.

> 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 

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 

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/158 using your GitHub 
Received on Wednesday, 1 June 2016 06:40:02 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:59 UTC