Changeset 117056 in webkit
- Timestamp:
- May 15, 2012 5:56:35 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r117054 r117056 1 2012-05-15 Florin Malita <fmalita@chromium.org> 2 3 Mask deformations when masked content is rotated 4 https://bugs.webkit.org/show_bug.cgi?id=76527 5 6 Reviewed by Nikolas Zimmermann. 7 8 * platform/chromium-linux/svg/repaint/mask-clip-target-transform-expected.png: Added. 9 * platform/chromium/test_expectations.txt: 10 * platform/mac/test_expectations.txt: 11 * svg/repaint/mask-clip-target-transform-expected.txt: Added. 12 * svg/repaint/mask-clip-target-transform.svg: Added. 13 1 14 2012-05-15 Sheriff Bot <webkit.review.bot@gmail.com> 2 15 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r117030 r117056 1219 1219 BUGWK81217 : svg/hixie/perf/003.xml = PASS FAIL 1220 1220 1221 // Needs rebaselining after landing 76527 1222 BUGWK76527 WIN MAC : svg/repaint/mask-clip-target-transform.svg = IMAGE+TEXT IMAGE TEXT PASS 1223 1221 1224 BUGWK81240 MAC : svg/text/bidi-reorder-value-lists.svg = PASS IMAGE+TEXT 1222 1225 -
trunk/LayoutTests/platform/mac/test_expectations.txt
r116900 r117056 208 208 BUGWK85990 : media/video-controls-toggling.html = TIMEOUT TEXT 209 209 210 // Requires rebaseline after bug 76527 211 BUGWK76527 : svg/repaint/mask-clip-target-transform.svg = IMAGE+TEXT IMAGE TEXT PASS 212 210 213 BUGWK85308 : ietestcenter/css3/valuesandunits/units-000.htm = IMAGE 211 214 BUGWK85310 : ietestcenter/css3/valuesandunits/units-010.htm = IMAGE -
trunk/Source/WebCore/ChangeLog
r117055 r117056 1 2012-05-15 Florin Malita <fmalita@chromium.org> 2 3 Mask deformations when masked content is rotated 4 https://bugs.webkit.org/show_bug.cgi?id=76527 5 6 Reviewed by Nikolas Zimmermann. 7 8 Test: svg/repaint/mask-clip-target-transform.svg 9 10 RenderSVGResource::markForLayoutAndParentResourceInvalidation() needs to also 11 invalidate parent mask and clip resources, not just filters. 12 13 * rendering/svg/RenderSVGResource.cpp: 14 (WebCore::removeFromCacheAndInvalidateDependencies): 15 (WebCore::RenderSVGResource::markForLayoutAndParentResourceInvalidation): 16 1 17 2012-05-15 Pavel Feldman <pfeldman@chromium.org> 2 18 -
trunk/Source/WebCore/rendering/svg/RenderSVGResource.cpp
r107067 r117056 28 28 #include "Frame.h" 29 29 #include "FrameView.h" 30 #include "RenderSVGResourceClipper.h" 30 31 #include "RenderSVGResourceContainer.h" 31 32 #include "RenderSVGResourceFilter.h" 33 #include "RenderSVGResourceMasker.h" 32 34 #include "RenderSVGResourceSolidColor.h" 33 35 #include "SVGResources.h" … … 162 164 } 163 165 164 static inline void removeFrom FilterCacheAndInvalidateDependencies(RenderObject* object, bool needsLayout)166 static inline void removeFromCacheAndInvalidateDependencies(RenderObject* object, bool needsLayout) 165 167 { 166 168 ASSERT(object); 169 if (SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(object)) { 167 170 #if ENABLE(FILTERS) 168 if (SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(object)) {169 171 if (RenderSVGResourceFilter* filter = resources->filter()) 170 172 filter->removeClientFromCache(object); 171 }172 173 #endif 174 if (RenderSVGResourceMasker* masker = resources->masker()) 175 masker->removeClientFromCache(object); 176 177 if (RenderSVGResourceClipper* clipper = resources->clipper()) 178 clipper->removeClientFromCache(object); 179 } 180 173 181 if (!object->node() || !object->node()->isSVGElement()) 174 182 return; … … 192 200 object->setNeedsLayout(true); 193 201 194 removeFrom FilterCacheAndInvalidateDependencies(object, needsLayout);202 removeFromCacheAndInvalidateDependencies(object, needsLayout); 195 203 196 204 // Invalidate resources in ancestor chain, if needed. 197 205 RenderObject* current = object->parent(); 198 206 while (current) { 199 removeFrom FilterCacheAndInvalidateDependencies(current, needsLayout);207 removeFromCacheAndInvalidateDependencies(current, needsLayout); 200 208 201 209 if (current->isSVGResourceContainer()) {
Note: See TracChangeset
for help on using the changeset viewer.