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

Unified Diff: Source/core/layout/LayoutBoxModelObject.cpp

Issue 1278543002: Include the whole outline into visual overflow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 4 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: Source/core/layout/LayoutBoxModelObject.cpp
diff --git a/Source/core/layout/LayoutBoxModelObject.cpp b/Source/core/layout/LayoutBoxModelObject.cpp
index 322bb7e4a5ebb6323025e044c5ed1568a0ac6880..4925fb0d967a18fe712386614525043c4115fb02 100644
--- a/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/Source/core/layout/LayoutBoxModelObject.cpp
@@ -414,6 +414,11 @@ void LayoutBoxModelObject::addOutlineRectsForDescendant(const LayoutObject& desc
return;
}
+ if (descendant.isLayoutInline()) {
+ toLayoutInline(descendant).addOutlineRectsForChildrenAndContinuations(rects, additionalOffset);
+ return;
chrishtr 2015/08/07 04:52:10 Can the refactor you referred to be made into its
Xianzhu 2015/08/07 16:25:37 Done. Ptal: https://codereview.chromium.org/128054
+ }
+
descendant.addOutlineRects(rects, additionalOffset);
}

Powered by Google App Engine
This is Rietveld 408576698