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

Unified Diff: Source/core/layout/svg/LayoutSVGText.cpp

Issue 1158323005: Include 'outline' in LayoutSVGBlock::visualOverflowRect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move fix to layout-side. Created 5 years, 6 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
« no previous file with comments | « Source/core/layout/svg/LayoutSVGBlock.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGText.cpp
diff --git a/Source/core/layout/svg/LayoutSVGText.cpp b/Source/core/layout/svg/LayoutSVGText.cpp
index f23d3ea0eaba584b72dbe7869022526a333e430b..4a03d9c9302811d112693a37c278decbf3213bf0 100644
--- a/Source/core/layout/svg/LayoutSVGText.cpp
+++ b/Source/core/layout/svg/LayoutSVGText.cpp
@@ -369,7 +369,6 @@ void LayoutSVGText::layout()
ASSERT(!hasControlClip());
ASSERT(!hasColumns());
ASSERT(!positionedObjects());
- ASSERT(!m_overflow);
ASSERT(!isAnonymousBlock());
if (!firstChild())
@@ -397,6 +396,9 @@ void LayoutSVGText::layout()
if (!firstLineBox())
setFrameRect(LayoutRect());
+ m_overflow.clear();
+ addVisualEffectOverflow();
chrishtr 2015/06/04 16:57:03 So now LayoutSVGBlock inherits behavior from Layou
fs 2015/06/05 09:01:47 If the derived class does not override that in any
+
if (!updateCachedBoundariesInParents)
updateCachedBoundariesInParents = oldBoundaries != objectBoundingBox();
« no previous file with comments | « Source/core/layout/svg/LayoutSVGBlock.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698