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

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

Issue 2100343002: Calc overflow on positioned descendants of tables (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@621612-2
Patch Set: bug 619510 Created 4 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
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 3d33a0af551508f5a92e8b69b0f9512036ecabc4..eebdb0d61bcc658ad568ac61224eafc1d929bf31 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -1761,6 +1761,13 @@ bool LayoutBlock::recalcChildOverflowAfterStyleChange()
}
}
+ return recalcPositionedDescendantsOverflowAfterStyleChange() || childrenOverflowChanged;
+}
+
+bool LayoutBlock::recalcPositionedDescendantsOverflowAfterStyleChange()
+{
+ bool childrenOverflowChanged = false;
+
TrackedLayoutBoxListHashSet* positionedDescendants = positionedObjects();
if (!positionedDescendants)
return childrenOverflowChanged;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.h ('k') | third_party/WebKit/Source/core/layout/LayoutTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698