summaryrefslogtreecommitdiffstats
path: root/layout/tables
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-02 11:31:07 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 12:26:44 +0200
commitbcd6c96aecfd49bca6f4f66a9dc40b4e1683aa85 (patch)
tree680f5950b6e8d8f283595b19cf2891ff62ebd48d /layout/tables
parent73289f53892c4c48eedf8de5a40af74ff9b55a09 (diff)
downloadUXP-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.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());