summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-02 11:31:07 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-02-02 11:31:07 +0100
commitdd68cb9b3d33bc9cb2613359deed468dd178923f (patch)
tree63f1ad01a3a4fd2170fd4282e548f03007ada6a7
parent6a3907dae474c7e1f31df13a26605278d3500a0d (diff)
downloadUXP-dd68cb9b3d33bc9cb2613359deed468dd178923f.tar
UXP-dd68cb9b3d33bc9cb2613359deed468dd178923f.tar.gz
UXP-dd68cb9b3d33bc9cb2613359deed468dd178923f.tar.lz
UXP-dd68cb9b3d33bc9cb2613359deed468dd178923f.tar.xz
UXP-dd68cb9b3d33bc9cb2613359deed468dd178923f.zip
Issue #1378 - Follow-up: make sure background items remain table-aligned.
-rw-r--r--layout/tables/nsTableFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/tables/nsTableFrame.cpp b/layout/tables/nsTableFrame.cpp
index 891d7e7cd..db6e31e2b 100644
--- a/layout/tables/nsTableFrame.cpp
+++ b/layout/tables/nsTableFrame.cpp
@@ -1319,7 +1319,7 @@ nsTableFrame::DisplayGenericTablePart(nsDisplayListBuilder* aBuilder,
col->GetTableColGroupFrame()->GetNormalPosition();
PaintRowGroupBackgroundByColIdx(rowGroup, aFrame, aBuilder, aLists, colIdx, offset);
}
- } else {
+ } else if (isVisible) {
nsDisplayBackgroundImage::AppendBackgroundItemsToTop(aBuilder, aFrame,
aFrame->GetRectRelativeToSelf(),
aLists.BorderBackground());