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..f6aeb2fbf065e92a2552b7213482224c8fa3d44d 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::recomputeOverflow() |
+{ |
+ 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(rhogan, wangxianzhu): This seems incorrect because cell may have visual effect overflow that should be included in this row. |
Xianzhu
2016/04/15 04:59:16
Can you file a bug for this? Then you can use TODO
rhogan
2016/04/15 19:34:32
Done.
|
if (cell->rowSpan() == 1) |
return; |