Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2478233002: Make 'transform' a presentation attribute on SVG elements (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index fb3143799be9d467009789137acbfe6e62597a51..4e1c0378a975f62d073872a817b7331b429b8624 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -659,7 +659,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
// Per SVG 1.1 objectBoundingBox ignores clipping, masking, filter effects,
// opacity and stroke-width.
// This is used for all computation of objectBoundingBox relative units and by
- // SVGLocatable::getBBox().
+ // SVGGraphicsElement::getBBox().
// NOTE: Markers are not specifically ignored here by SVG 1.1 spec, but we
// ignore them since stroke-width is ignored (and marker size can depend on
// stroke-width). objectBoundingBox is returned local coordinates.
@@ -677,9 +677,8 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
virtual FloatRect visualRectInLocalSVGCoordinates() const;
// This returns the transform applying to the local SVG coordinate space,
- // which combines the transform attribute value or CSS transform properties,
- // and animation motion transform.
- // See SVGGraphicsElement::calculateAnimatedLocalTransform().
+ // which combines the CSS transform properties and animation motion transform.
+ // See SVGElement::calculateTransform().
// Most callsites want localToSVGParentTransform() instead.
virtual AffineTransform localSVGTransform() const;

Powered by Google App Engine
This is Rietveld 408576698