зеркало из https://github.com/mozilla/gecko-dev.git
Paint the numerator and denominator early so that their background doesn't overwrite the fraction line, b=303486, r+sr=roc, a=asa
This commit is contained in:
Родитель
7bf819d206
Коммит
3554a3756a
|
@ -227,6 +227,12 @@ nsMathMLmfracFrame::Paint(nsPresContext* aPresContext,
|
|||
nsFramePaintLayer aWhichLayer,
|
||||
PRUint32 aFlags)
|
||||
{
|
||||
/////////////
|
||||
// paint the numerator and denominator
|
||||
nsresult rv = nsMathMLContainerFrame::Paint(aPresContext, aRenderingContext,
|
||||
aDirtyRect, aWhichLayer);
|
||||
/////////////
|
||||
// paint the fraction line
|
||||
if (mSlashChar) {
|
||||
// bevelled rendering
|
||||
mSlashChar->Paint(aPresContext, aRenderingContext,
|
||||
|
@ -242,10 +248,7 @@ nsMathMLmfracFrame::Paint(nsPresContext* aPresContext,
|
|||
mLineRect.width, mLineRect.height);
|
||||
}
|
||||
|
||||
/////////////
|
||||
// paint the numerator and denominator
|
||||
return nsMathMLContainerFrame::Paint(aPresContext, aRenderingContext,
|
||||
aDirtyRect, aWhichLayer);
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче