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 eeedfe7e0d7d5aceab040af5ea114e5c1f5e344b..eedbc7b62fff703c72969e5c3166a724c56beff5 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" |
@@ -235,6 +236,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(); |