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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index b3dd7c8af4931593b4bcdf1e0623b93d27e8154e..ffaac3ba83069f870eb5c3b811affb0ef9552635 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -424,9 +424,9 @@ bool LayoutTable::recalcChildOverflowAfterStyleChange()
for (LayoutTableSection* section = topSection(); section; section = sectionBelow(section)) {
if (!section->childNeedsOverflowRecalcAfterStyleChange())
continue;
- childrenOverflowChanged |= section->recalcChildOverflowAfterStyleChange();
+ childrenOverflowChanged = section->recalcChildOverflowAfterStyleChange() || childrenOverflowChanged;
}
- return childrenOverflowChanged;
+ return recalcPositionedDescendantsOverflowAfterStyleChange() || childrenOverflowChanged;
}
void LayoutTable::layout()
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698