Changeset 52665 in webkit
- Timestamp:
- Dec 30, 2009 9:50:25 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r52660 r52665 1 2009-12-30 Dirk Schulze <krit@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 SVGResourceClipper needs to invalidate content 6 https://bugs.webkit.org/show_bug.cgi?id=33054 7 8 Drawing area should change after attribute changes in clipPath or 9 it's childs. 10 11 * platform/mac/svg/custom/clip-path-child-changes-expected.txt: 12 * platform/mac/svg/custom/clip-path-units-changes-expected.txt: 13 1 14 2009-12-30 Jakub Wieczorek <faw217@gmail.com> 2 15 -
trunk/LayoutTests/platform/mac/svg/custom/clip-path-child-changes-expected.txt
r38794 r52665 3 3 RenderView at (0,0) size 800x600 4 4 layer at (0,0) size 800x600 5 RenderSVGRoot {svg} at (0,0) size 200x2005 RenderSVGRoot {svg} at (0,0) size 100x100 6 6 RenderSVGHiddenContainer {defs} at (0,0) size 0x0 7 RenderSVGContainer {g} at (0,0) size 200x200 [clip path="myclip"]7 RenderSVGContainer {g} at (0,0) size 100x100 [clip path="myclip"] 8 8 RenderPath {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L200.00,0.00 L200.00,200.00 L0.00,200.00 Z"] 9 9 RenderPath {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [data="M0.00,0.00 L100.00,0.00 L100.00,100.00 L0.00,100.00 Z"] -
trunk/LayoutTests/platform/mac/svg/custom/clip-path-units-changes-expected.txt
r38794 r52665 3 3 RenderView at (0,0) size 800x600 4 4 layer at (0,0) size 800x600 5 RenderSVGRoot {svg} at (0,0) size 200x2005 RenderSVGRoot {svg} at (0,0) size 100x100 6 6 RenderSVGHiddenContainer {defs} at (0,0) size 0x0 7 RenderSVGContainer {g} at (0,0) size 200x200 [clip path="myclip"]7 RenderSVGContainer {g} at (0,0) size 100x100 [clip path="myclip"] 8 8 RenderPath {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [data="M0.00,0.00 L200.00,0.00 L200.00,200.00 L0.00,200.00 Z"] 9 9 RenderPath {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [data="M0.00,0.00 L100.00,0.00 L100.00,100.00 L0.00,100.00 Z"] -
trunk/WebCore/ChangeLog
r52664 r52665 1 2009-12-30 Dirk Schulze <krit@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 SVGResourceClipper needs to invalidate content 6 https://bugs.webkit.org/show_bug.cgi?id=33054 7 8 Added invalidate() to SVGResourceClipper to reset clipData 9 and drawing area after attribute changes. 10 11 This fixes two LayoutTests. 12 13 * svg/graphics/SVGResourceClipper.cpp: 14 (WebCore::SVGResourceClipper::resetClipData): 15 (WebCore::SVGResourceClipper::invalidate): 16 * svg/graphics/SVGResourceClipper.h: 17 1 18 2009-12-30 Carol Szabo <carol.szabo@nokia.com> 2 19 -
trunk/WebCore/svg/graphics/SVGResourceClipper.cpp
r52647 r52665 52 52 { 53 53 m_clipData.clear(); 54 m_clipperBoundingBox = FloatRect(); 55 } 56 57 void SVGResourceClipper::invalidate() 58 { 59 SVGResource::invalidate(); 60 resetClipData(); 54 61 } 55 62 -
trunk/WebCore/svg/graphics/SVGResourceClipper.h
r52647 r52665 67 67 static PassRefPtr<SVGResourceClipper> create() { return adoptRef(new SVGResourceClipper); } 68 68 virtual ~SVGResourceClipper(); 69 69 70 virtual void invalidate(); 71 70 72 void resetClipData(); 71 73 void addClipData(const Path&, WindRule, bool bboxUnits);
Note: See TracChangeset
for help on using the changeset viewer.