DescriptionWeb Animations: Use legacy cascade behaviour and the MatchedPropertiesCache
This patch changes the behaviour of the Web Animations backed animations
and transitions implementation to apply animations / transitions at the
last step of the cascade. This is the same behaviour as the legacy code
but not correct according to the spec[1]. The current behaviour is a bit
strange, it attempts to follow the spec but property dependencies (such
as using ems) do not work correctly as low priority properties will only
be re-applied if they are !important and we are running animations on a
low priority property.
As a result of moving animations / transitions to the end of the cascade
we can easily use the MatchedPropertiesCache for all running animations
and transitions. Once we correct the cascade order we'll need to disable
the cache in several cases.
[1] http://www.w3.org/TR/css3-cascade/#cascading
BUG=232273, 314952
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161985
Patch Set 1 #
Total comments: 9
Patch Set 2 : address comments #Patch Set 3 : rebased #Patch Set 4 : s_e\(lement->hasActiveAnimations\)_animatingE\1_ #
Total comments: 7
Patch Set 5 : address more comments #
Messages
Total messages: 15 (0 generated)
|