OSDN Git Service

Fix CSS animation bugs
authorNicolas Roard <nicolasroard@google.com>
Wed, 9 Mar 2011 01:06:17 +0000 (17:06 -0800)
committerNicolas Roard <nicolasroard@google.com>
Wed, 9 Mar 2011 03:04:37 +0000 (19:04 -0800)
commit91672cbe203b55ec355d118636d333e9e7d7f3d7
treee242ad245e4c2c1be7d47c7fbdfddb3b89b74c5d
parent42046545ce1012ef3f925011573d265339778bed
Fix CSS animation bugs

- we were replacing animations by new ones regardless of their types, so
  when two anims (i.e. transform and opacity) where set on the same
  layer, we'd only run the last one
- the selection of the keys for keyframes animations was buggy

bug:2453890
Change-Id: I03da3f6c2ba1f5bf778e099e52d71d2f5e67d27e
WebCore/platform/graphics/android/AndroidAnimation.cpp
WebCore/platform/graphics/android/AndroidAnimation.h
WebCore/platform/graphics/android/LayerAndroid.cpp