Changeset 96052 in webkit
- Timestamp:
- Sep 26, 2011 5:36:19 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r96048 r96052 1 2011-09-26 Tim Horton <timothy_horton@apple.com> 2 3 <animateColor> applied to filtered ellipse does not update 4 https://bugs.webkit.org/show_bug.cgi?id=68457 5 <rdar://problem/10154777> 6 7 Reviewed by Darin Adler. 8 9 Test that changing the fill on a filtered shape properly invalidates the filtered result. 10 11 * svg/filters/animate-fill-expected.png: Added. 12 * svg/filters/animate-fill-expected.txt: Added. 13 * svg/filters/animate-fill.svg: Added. 14 1 15 2011-09-26 Mihai Parparita <mihaip@chromium.org> 2 16 -
trunk/Source/WebCore/ChangeLog
r96030 r96052 1 2011-09-26 Tim Horton <timothy_horton@apple.com> 2 3 <animateColor> applied to filtered ellipse does not update 4 https://bugs.webkit.org/show_bug.cgi?id=68457 5 <rdar://problem/10154777> 6 7 Reviewed by Darin Adler. 8 9 Invalidate the filter's cache when style changes take place so that style changes are respected. 10 11 Test: svg/filters/animate-fill.svg 12 13 * rendering/svg/SVGResourcesCache.cpp: 14 (WebCore::SVGResourcesCache::clientStyleChanged): 15 (WebCore::SVGResourcesCache::clientUpdatedFromElement): 16 1 17 2011-09-26 Max Perepelitsyn <pph34r@gmail.com> 2 18 -
trunk/Source/WebCore/rendering/svg/SVGResourcesCache.cpp
r95901 r96052 129 129 return; 130 130 131 // In this case the proper SVGFE*Element will imply whether the modifided CSS properties impliesa relayout or repaint.131 // In this case the proper SVGFE*Element will decide whether the modified CSS properties require a relayout or repaint. 132 132 if (renderer->isSVGResourceFilterPrimitive() && diff == StyleDifferenceRepaint) 133 133 return; … … 145 145 cache->removeResourcesFromRenderObject(renderer); 146 146 cache->addResourcesFromRenderObject(renderer, newStyle); 147 148 SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(renderer); 149 if (!resources) 150 return; 151 152 resources->removeClientFromCache(renderer); 147 153 } 148 154
Note: See TracChangeset
for help on using the changeset viewer.