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

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

Issue 1158323005: Include 'outline' in LayoutSVGBlock::visualOverflowRect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGBlock.cpp
diff --git a/Source/core/layout/svg/LayoutSVGBlock.cpp b/Source/core/layout/svg/LayoutSVGBlock.cpp
index 43f43cc9c0b7057502f5ddfde8944fa985cccfc2..10ae0ab9b82293c0eaf724844984511d6cdf1407 100644
--- a/Source/core/layout/svg/LayoutSVGBlock.cpp
+++ b/Source/core/layout/svg/LayoutSVGBlock.cpp
@@ -39,10 +39,8 @@ LayoutSVGBlock::LayoutSVGBlock(SVGElement* element)
LayoutRect LayoutSVGBlock::visualOverflowRect() const
chrishtr 2015/06/03 22:12:53 Is this only ever used in BoxPainter when painting
fs 2015/06/04 09:13:31 No, AFAIK it's only used in BlockPainter (overflow
{
LayoutRect borderRect = borderBoxRect();
-
- if (const ShadowList* textShadow = style()->textShadow())
- textShadow->adjustRectForShadow(borderRect);
-
+ if (style()->hasVisualOverflowingEffect())
+ borderRect.expand(computeVisualEffectOverflowOutsets());
chrishtr 2015/06/02 15:51:05 LayoutBox computes visual overflow during layout.
return borderRect;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698