diff options
author | Moonchild <git-repo@palemoon.org> | 2020-02-26 13:53:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 13:53:30 +0100 |
commit | d585e25e27b34bb16e41263c827b1295e4b5d004 (patch) | |
tree | a42be8050848191ab9d3d140f239b7c272e9f955 /layout/mathml/nsMathMLChar.cpp | |
parent | 4ff7606b6aa7efa631e43fe7f1b463c6bdec5b3f (diff) | |
parent | efdc2af8ab06c50b85e584ef15deab73b66bec6d (diff) | |
download | UXP-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.cpp | 3 |
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 |