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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableRow.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/LayoutTableRow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
index 149d4f72a71cfbfa6ce1f74a5ab398334977cb0d..3f7335a2baeb61e90b844b959ab162807e2b015f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
@@ -237,9 +237,18 @@ LayoutTableRow* LayoutTableRow::createAnonymousWithParent(const LayoutObject* pa
return newRow;
}
+void LayoutTableRow::computeOverflow()
+{
+ clearAllOverflows();
+ addVisualEffectOverflow();
+ for (LayoutTableCell* cell = firstCell(); cell; cell = cell->nextCell())
+ addOverflowFromCell(cell);
+}
+
void LayoutTableRow::addOverflowFromCell(const LayoutTableCell* cell)
{
// Non-row-spanning-cells don't create overflow (they are fully contained within this row).
+ // TODO(crbug.com/603993): This seems incorrect because cell may have visual effect overflow that should be included in this row.
if (cell->rowSpan() == 1)
return;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableRow.h ('k') | third_party/WebKit/Source/core/layout/LayoutTableSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698