Changeset 166309 in webkit
- Timestamp:
- Mar 26, 2014, 12:36:51 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r166303 r166309 1 2014-03-26 Simon Fraser <simon.fraser@apple.com> 2 3 REGRESSION (r155977): matrix animations no longer animate 4 https://bugs.webkit.org/show_bug.cgi?id=130789 5 <rdar://problem/15650946> 6 7 Reviewed by Dean Jackson. 8 9 Add test for fill-fowards animation with mismatched transform lists. 10 11 * compositing/animation/matrix-animation-expected.html: Added. 12 * compositing/animation/matrix-animation.html: Added. 13 1 14 2014-03-26 Antti Koivisto <antti@apple.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r166308 r166309 1 2014-03-26 Simon Fraser <simon.fraser@apple.com> 2 3 REGRESSION (r155977): matrix animations no longer animate 4 https://bugs.webkit.org/show_bug.cgi?id=130789 5 <rdar://problem/15650946> 6 7 Reviewed by Dean Jackson. 8 9 r155977 erroneously removed two lines that set the end points for 10 matrix animations (used when transform lists don't match), so 11 put them back. 12 13 Also don't repaint when updateContentsScale() 14 is called and doesn't change the contents scale. 15 16 Test: compositing/animation/matrix-animation.html 17 18 * platform/graphics/ca/GraphicsLayerCA.cpp: 19 (WebCore::GraphicsLayerCA::updateRootRelativeScale): 20 (WebCore::GraphicsLayerCA::setTransformAnimationEndpoints): 21 (WebCore::GraphicsLayerCA::updateContentsScale): 22 1 23 2014-03-26 Simon Fraser <simon.fraser@apple.com> 2 24 -
trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
r166308 r166309 1166 1166 rootRelativeScaleFactor = maxScaleFromTransform(*transformFromRoot); 1167 1167 } 1168 1168 1169 1169 if (rootRelativeScaleFactor != m_rootRelativeScaleFactor) { 1170 1170 m_rootRelativeScaleFactor = rootRelativeScaleFactor; … … 2704 2704 if (!fromTransform.isInvertible() || !toTransform.isInvertible()) 2705 2705 return false; 2706 2707 basicAnim->setFromValue(fromTransform); 2708 basicAnim->setToValue(toTransform); 2706 2709 } else { 2707 2710 if (isTransformTypeNumber(transformOpType)) { … … 2946 2949 { 2947 2950 float contentsScale = clampedContentsScaleForScale(m_rootRelativeScaleFactor * pageScaleFactor * deviceScaleFactor()); 2951 if (contentsScale == m_layer->contentsScale()) 2952 return; 2953 2948 2954 m_layer->setContentsScale(contentsScale); 2949 2955 if (drawsContent())
Note:
See TracChangeset
for help on using the changeset viewer.