diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-02 11:31:07 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:26:44 +0200 |
commit | bcd6c96aecfd49bca6f4f66a9dc40b4e1683aa85 (patch) | |
tree | 680f5950b6e8d8f283595b19cf2891ff62ebd48d /layout/tables | |
parent | 73289f53892c4c48eedf8de5a40af74ff9b55a09 (diff) | |
download | UXP-bcd6c96aecfd49bca6f4f66a9dc40b4e1683aa85.tar UXP-bcd6c96aecfd49bca6f4f66a9dc40b4e1683aa85.tar.gz UXP-bcd6c96aecfd49bca6f4f66a9dc40b4e1683aa85.tar.lz UXP-bcd6c96aecfd49bca6f4f66a9dc40b4e1683aa85.tar.xz UXP-bcd6c96aecfd49bca6f4f66a9dc40b4e1683aa85.zip |
Issue #1378 - Follow-up: make sure background items remain table-aligned.
Diffstat (limited to 'layout/tables')
-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 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()); |