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

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

Issue 1809643008: Adding or changing any of box-shadow, outline, or border-image-outset does not need a layout.. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 8 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/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index 6d1bffb13fc7f102b76d0f737e0c55dc765ead2b..a9babf604e45a0e610eaf2e501aab4be93fc2b45 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -414,6 +414,19 @@ void LayoutTable::simplifiedNormalFlowLayout()
}
}
+bool LayoutTable::recalcChildOverflowAfterStyleChange()
+{
+ ASSERT(childNeedsOverflowRecalcAfterStyleChange());
+ clearChildNeedsOverflowRecalcAfterStyleChange();
+ bool childrenOverflowChanged = false;
+ for (LayoutTableSection* section = topSection(); section; section = sectionBelow(section)) {
+ if (!section->childNeedsOverflowRecalcAfterStyleChange())
+ continue;
+ childrenOverflowChanged |= section->recalcChildOverflowAfterStyleChange();
+ }
+ return childrenOverflowChanged;
+}
+
void LayoutTable::layout()
{
ASSERT(needsLayout());
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.h ('k') | third_party/WebKit/Source/core/layout/LayoutTableRow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698