Changeset 70323 in webkit
- Timestamp:
- Oct 22, 2010 12:00:36 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r70321 r70323 1 2010-10-22 Cosmin Truta <ctruta@chromium.org> 2 3 Reviewed by Dirk Schulze. 4 5 getBoundingClientRect does not work with SVG <text> 6 https://bugs.webkit.org/show_bug.cgi?id=46775 7 8 Added back to SVGStyledTransformableElement overloads of the following 9 methods: nearestViewportElement, farthestViewportElement, getBBox. 10 This was necessary to appease the Visual C++ compiler, which warned on 11 inheritance via dominance. 12 13 * svg/SVGStyledTransformableElement.cpp: 14 * svg/SVGStyledTransformableElement.h: 15 (SVGStyledTransformableElement::nearestViewportElement): 16 (SVGStyledTransformableElement::farthestViewportElement): 17 (SVGStyledTransformableElement::getBBox): 18 1 19 2010-10-21 Chris Marrin <cmarrin@apple.com> 2 20 -
trunk/WebCore/svg/SVGStyledTransformableElement.cpp
r70317 r70323 91 91 } 92 92 93 SVGElement* SVGStyledTransformableElement::nearestViewportElement() const 94 { 95 return SVGTransformable::nearestViewportElement(this); 96 } 97 98 SVGElement* SVGStyledTransformableElement::farthestViewportElement() const 99 { 100 return SVGTransformable::farthestViewportElement(this); 101 } 102 103 FloatRect SVGStyledTransformableElement::getBBox(StyleUpdateStrategy styleUpdateStrategy) const 104 { 105 return SVGTransformable::getBBox(this, styleUpdateStrategy); 106 } 107 93 108 RenderObject* SVGStyledTransformableElement::createRenderer(RenderArena* arena, RenderStyle*) 94 109 { -
trunk/WebCore/svg/SVGStyledTransformableElement.h
r70317 r70323 38 38 virtual AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate) const; 39 39 virtual AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate) const; 40 virtual SVGElement* nearestViewportElement() const; 41 virtual SVGElement* farthestViewportElement() const; 40 42 41 43 virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope mode) const { return SVGTransformable::localCoordinateSpaceTransform(mode); } 42 44 virtual AffineTransform animatedLocalTransform() const; 43 45 virtual AffineTransform* supplementalTransform(); 46 47 virtual FloatRect getBBox(StyleUpdateStrategy = AllowStyleUpdate) const; 44 48 45 49 bool isKnownAttribute(const QualifiedName&);
Note: See TracChangeset
for help on using the changeset viewer.