mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 20:42:49 +00:00
Fix regression from the fix for bug 116161. The picky treatment of stretchy MathML characters involves additional style contexts whereas the default search of the background stops at the primary style context
This commit is contained in:
parent
efdef8f34e
commit
7f70f2cd28
@ -1849,10 +1849,12 @@ nsMathMLChar::Paint(nsIPresContext* aPresContext,
|
||||
styleContext->GetStyleData(eStyleStruct_Border));
|
||||
const nsStyleOutline *outline = NS_STATIC_CAST(const nsStyleOutline*,
|
||||
styleContext->GetStyleData(eStyleStruct_Outline));
|
||||
const nsStyleBackground *backg = NS_STATIC_CAST(const nsStyleBackground*,
|
||||
styleContext->GetStyleData(eStyleStruct_Background));
|
||||
|
||||
nsRect rect(mRect); //0, 0, mRect.width, mRect.height);
|
||||
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, aForFrame,
|
||||
aDirtyRect, rect, *border, 0, 0);
|
||||
nsCSSRendering::PaintBackgroundWithSC(aPresContext, aRenderingContext, aForFrame,
|
||||
aDirtyRect, rect, *backg, *border, 0, 0);
|
||||
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, aForFrame,
|
||||
aDirtyRect, rect, *border, styleContext, skipSides);
|
||||
nsCSSRendering::PaintOutline(aPresContext, aRenderingContext, aForFrame,
|
||||
|
Loading…
x
Reference in New Issue
Block a user