diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-02 11:31:07 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-02 11:31:07 +0100 |
commit | dd68cb9b3d33bc9cb2613359deed468dd178923f (patch) | |
tree | 63f1ad01a3a4fd2170fd4282e548f03007ada6a7 /layout | |
parent | 6a3907dae474c7e1f31df13a26605278d3500a0d (diff) | |
download | uxp-dd68cb9b3d33bc9cb2613359deed468dd178923f.tar.gz |
Issue #1378 - Follow-up: make sure background items remain table-aligned.
Diffstat (limited to 'layout')
-rw-r--r-- | layout/tables/nsTableFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/tables/nsTableFrame.cpp b/layout/tables/nsTableFrame.cpp index 891d7e7cde..db6e31e2ba 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()); |