After animation features enhancing, opacity animation doesn't work now.
Created attachment 189803 [details] Patch
This patch is also applied to webkit-clutter. http://cgit.collabora.com/git/webkit-clutter.git/commit/?h=wip/changseok/unreviewed&id=c4f68d0678b79ed3279227de572fd398500ab44a
Created attachment 192489 [details] Simple test case I've tested this patch on WebKit Clutter with the attached page, and it looks like the transition is happening twice - once because of the CSS transition that is defined, and one because when WebCore sets the final result in the layer, the clutter transition is still set on the actor, so it happens again. I'm getting this warning, as well: (MxLauncher:24704): Clutter-CRITICAL **: clutter_timeline_set_progress_mode: assertion `mode < CLUTTER_ANIMATION_LAST' failed
Comment on attachment 189803 [details] Patch r- for the above
(In reply to comment #3) Thanks for the review! > Created an attachment (id=192489) [details] > Simple test case > > I've tested this patch on WebKit Clutter with the attached page, and it looks like the transition is happening twice - once because of the CSS transition that is defined, and one because when WebCore sets the final result in the layer, the clutter transition is still set on the actor, so it happens again. Yeah, it's a known issue and dealt in bug110607. Please see bug110607, I applied it to webkit-clutter as well. I'm getting this warning, as well: > > (MxLauncher:24704): Clutter-CRITICAL **: clutter_timeline_set_progress_mode: assertion `mode < CLUTTER_ANIMATION_LAST' failed This is because webkit-clutter is using different toClutterAnimationMode in PlatformClutterAnimation.cpp. webkit-clutter's one is a little old so I think we need to replace it with the one of WebKitGTK+. You may want to refer https://developer.gnome.org/clutter/stable/ClutterAlpha.html#clutter-alpha-register-func And actually I think we don't need to care about timing functions anymore because clutter starts to supports them for css3 transitions since its version 1.12. https://developer.gnome.org/clutter/stable/ClutterTimeline.html#ClutterAnimationMode
The replacing patch for webkit-clutter is here. http://cgit.collabora.com/git/webkit-clutter.git/commit/?h=wip/changseok/unreviewed&id=7a69a2ed4aa739803997496d5823007eba517f2e
Comment on attachment 189803 [details] Patch OK, this makes sense with bug 110607
Comment on attachment 189803 [details] Patch Clearing flags on attachment: 189803 Committed r146609: <http://trac.webkit.org/changeset/146609>
All reviewed patches have been landed. Closing bug.