summaryrefslogtreecommitdiffstats
path: root/layout/mathml/nsMathMLChar.cpp
diff options
context:
space:
mode:
authorMoonchild <git-repo@palemoon.org>2020-02-26 13:53:30 +0100
committerGitHub <noreply@github.com>2020-02-26 13:53:30 +0100
commitd585e25e27b34bb16e41263c827b1295e4b5d004 (patch)
treea42be8050848191ab9d3d140f239b7c272e9f955 /layout/mathml/nsMathMLChar.cpp
parent4ff7606b6aa7efa631e43fe7f1b463c6bdec5b3f (diff)
parentefdc2af8ab06c50b85e584ef15deab73b66bec6d (diff)
downloadUXP-d585e25e27b34bb16e41263c827b1295e4b5d004.tar
UXP-d585e25e27b34bb16e41263c827b1295e4b5d004.tar.gz
UXP-d585e25e27b34bb16e41263c827b1295e4b5d004.tar.lz
UXP-d585e25e27b34bb16e41263c827b1295e4b5d004.tar.xz
UXP-d585e25e27b34bb16e41263c827b1295e4b5d004.zip
Merge pull request #1463 from win7-7/column-backgrounds-pr
Better way to create display items for column backgrounds
Diffstat (limited to 'layout/mathml/nsMathMLChar.cpp')
-rw-r--r--layout/mathml/nsMathMLChar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/layout/mathml/nsMathMLChar.cpp b/layout/mathml/nsMathMLChar.cpp
index 507e32b22..4b02a52d8 100644
--- a/layout/mathml/nsMathMLChar.cpp
+++ b/layout/mathml/nsMathMLChar.cpp
@@ -1992,7 +1992,8 @@ nsMathMLChar::Display(nsDisplayListBuilder* aBuilder,
if (styleContext != parentContext &&
NS_GET_A(backg->mBackgroundColor) > 0) {
nsDisplayBackgroundImage::AppendBackgroundItemsToTop(
- aBuilder, aForFrame, mRect, aLists.BorderBackground(),
+ aBuilder, aForFrame, mRect + aBuilder->ToReferenceFrame(aForFrame),
+ aLists.BorderBackground(),
/* aAllowWillPaintBorderOptimization */ true, styleContext);
}
//else