Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
index 7d84659985f4f467418dcc5bed68fe6d6e7341a9..671c5c405d1fd30c7a9cc21268e94da58dc75345 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp |
@@ -11,6 +11,7 @@ |
#include "core/layout/LayoutBlockFlow.h" |
#include "core/layout/LayoutObject.h" |
#include "core/layout/LayoutTable.h" |
+#include "core/layout/LayoutTableSection.h" |
#include "core/layout/LayoutView.h" |
#include "core/layout/svg/SVGLayoutSupport.h" |
#include "core/paint/ObjectPaintProperties.h" |
@@ -233,6 +234,12 @@ void PaintInvalidator::updatePaintingLayer(const LayoutObject& object, |
if (object == context.paintingLayer->layoutObject()) |
return; |
+ if (object.isTableSection()) { |
+ const auto& section = toLayoutTableSection(object); |
+ if (section.table()->hasColElements()) |
+ context.paintingLayer->setNeedsPaintPhaseDescendantBlockBackgrounds(); |
+ } |
+ |
if (object.styleRef().hasOutline()) |
context.paintingLayer->setNeedsPaintPhaseDescendantOutlines(); |