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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.cpp

Issue 2896363003: Ensure visual overflow from style recalc gets propagated (Closed)
Patch Set: bug 724453 Created 3 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
Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index 496270a86f26fc7fbbe7b88ac937066e5b3fc381..f85dc3527cdab89f33e87a2ba7dc8c8ac4fd28f4 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -2066,7 +2066,7 @@ bool LayoutBlock::RecalcOverflowAfterStyleChange() {
if (HasOverflowClip())
Layer()->GetScrollableArea()->UpdateAfterOverflowRecalc();
- return !HasOverflowClip();
+ return true;
Xianzhu 2017/05/23 20:35:42 To keep the optimization for child overflow change
rhogan 2017/05/23 21:32:17 OK, done!
}
// Called when a positioned object moves but doesn't necessarily change size.

Powered by Google App Engine
This is Rietveld 408576698