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

Unified Diff: third_party/WebKit/Source/core/paint/TableRowPainter.cpp

Issue 1637143002: Layers that have a backdrop-filter should paints contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another test Created 4 years, 11 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/paint/TableRowPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableRowPainter.cpp b/third_party/WebKit/Source/core/paint/TableRowPainter.cpp
index b7c333e0b4a8f13c7777cdf8bc27d333803d3d09..cc7809a74e93013a20bf67742bf24de498ffe133 100644
--- a/third_party/WebKit/Source/core/paint/TableRowPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TableRowPainter.cpp
@@ -23,7 +23,7 @@ void TableRowPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paint
return;
PaintInfo paintInfoForCells = paintInfo.forDescendants();
- bool shouldPaintRowBackground = shouldPaintSelfBlockBackground(paintInfo.phase) && m_layoutTableRow.hasBackground();
+ bool shouldPaintRowBackground = shouldPaintSelfBlockBackground(paintInfo.phase) && (m_layoutTableRow.hasBackground() || m_layoutTableRow.styleRef().hasBackdropFilter());
bool shouldPaintCells = paintInfo.phase != PaintPhaseSelfBlockBackgroundOnly;
for (LayoutTableCell* cell = m_layoutTableRow.firstCell(); cell; cell = cell->nextCell()) {
if (shouldPaintRowBackground)

Powered by Google App Engine
This is Rietveld 408576698