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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h

Issue 1661983002: Don't propagate bbox for empty <text> to ancestors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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/svg/LayoutSVGText.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h
index 3297161d216f021d5b5455bd716e197d57754935..c17f12c1caa9198bb5833b12980a7761303c17d0 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h
@@ -44,6 +44,7 @@ public:
FloatRect paintInvalidationRectInLocalCoordinates() const override;
FloatRect objectBoundingBox() const override { return FloatRect(frameRect()); }
FloatRect strokeBoundingBox() const override;
+ bool isObjectBoundingBoxValid() const;
static LayoutSVGText* locateLayoutSVGTextAncestor(LayoutObject*);
static const LayoutSVGText* locateLayoutSVGTextAncestor(const LayoutObject*);

Powered by Google App Engine
This is Rietveld 408576698