Changeset 269527 in webkit
- Timestamp:
- Nov 6, 2020 11:37:33 AM (21 months ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/ca/GraphicsLayerCA.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r269525 r269527 1 2020-11-06 Antoine Quint <graouts@webkit.org> 2 3 Accelerated animations of individual transform properties should apply rotate before scale 4 https://bugs.webkit.org/show_bug.cgi?id=218659 5 6 Reviewed by Simon Fraser. 7 8 Not that applying scale before rotate makes any difference, but applying the operations in 9 the order specified in the CSS Transforms spec will make the code easier to understand between 10 this and RenderStyle::applyTransform(). 11 12 No test since there is no change of behavior. 13 14 * platform/graphics/ca/GraphicsLayerCA.cpp: 15 (WebCore::GraphicsLayerCA::updateAnimations): 16 1 17 2020-11-06 Wenson Hsieh <wenson_hsieh@apple.com> 2 18 -
trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
r268932 r269527 3002 3002 addBaseValueTransformAnimation(AnimatedPropertyTranslate); 3003 3003 3004 if (rotateAnimation) 3005 addAnimation(*rotateAnimation); 3006 else 3007 addBaseValueTransformAnimation(AnimatedPropertyRotate); 3008 3004 3009 if (scaleAnimation) 3005 3010 addAnimation(*scaleAnimation); 3006 3011 else 3007 3012 addBaseValueTransformAnimation(AnimatedPropertyScale); 3008 3009 if (rotateAnimation)3010 addAnimation(*rotateAnimation);3011 else3012 addBaseValueTransformAnimation(AnimatedPropertyRotate);3013 3013 3014 3014 for (auto* animation : transformAnimations) … … 3022 3022 addBaseValueTransformAnimation(AnimatedPropertyTransform); 3023 3023 3024 if (scaleAnimation) 3025 addAnimation(*scaleAnimation); 3026 else 3027 addBaseValueTransformAnimation(AnimatedPropertyScale); 3028 3024 3029 if (rotateAnimation) 3025 3030 addAnimation(*rotateAnimation); 3026 3031 else 3027 3032 addBaseValueTransformAnimation(AnimatedPropertyRotate); 3028 3029 if (scaleAnimation)3030 addAnimation(*scaleAnimation);3031 else3032 addBaseValueTransformAnimation(AnimatedPropertyScale);3033 3033 3034 3034 if (translateAnimation)
Note: See TracChangeset
for help on using the changeset viewer.