mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
Don't apply selection colors when printing. b=90434 r+sr=bzbarsky
This commit is contained in:
parent
784e8e72cd
commit
eaa7cda447
@ -2685,7 +2685,6 @@ nsTextFrame::PaintUnicodeText(nsPresContext* aPresContext,
|
||||
aRenderingContext.SetColor(currentBKColor);
|
||||
aRenderingContext.FillRect(currentX, dy, newWidth, mRect.height);
|
||||
}
|
||||
currentFGColor = EnsureDifferentColors(currentFGColor, currentBKColor);
|
||||
}
|
||||
}
|
||||
else {
|
||||
@ -3386,7 +3385,7 @@ nsTextFrame::PaintTextSlowly(nsPresContext* aPresContext,
|
||||
if (isRightToLeftOnBidiPlatform)
|
||||
currentX -= newDimensions.width;
|
||||
#endif
|
||||
if (isSelection)
|
||||
if (isSelection && !isPaginated)
|
||||
{//DRAW RECT HERE!!!
|
||||
if (!isCurrentBKColorTransparent) {
|
||||
aRenderingContext.SetColor(currentBKColor);
|
||||
|
Loading…
Reference in New Issue
Block a user