Missing layer content when animating elements on-screen
Created attachment 327935 [details] Patch
Created attachment 327936 [details] Manual test
rdar://problem/34923438
Comment on attachment 327935 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=327935&action=review > Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:1516 > + bool nowRunningTransformAnimation = wasRunningTransformAnimation; > + if (m_uncommittedChanges & AnimationChanged) > + nowRunningTransformAnimation = isRunningTransformAnimation(); > + > + if (wasRunningTransformAnimation != nowRunningTransformAnimation) > + childCommitState.ancestorStartedOrEndedTransformAnimation = true; I wish all this could be one statement, but I can't think of a better way.
https://trac.webkit.org/r225310
Comment on attachment 327935 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=327935&action=review >> Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:1516 >> + childCommitState.ancestorStartedOrEndedTransformAnimation = true; > > I wish all this could be one statement, but I can't think of a better way. Maybe if ((m_uncommittedChanges & AnimationChanged) && wasRunningTransformAnimation != isRunningTransformAnimation())