Don't apply selection colors when printing. b=90434 r+sr+a=bzbarsky
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188531 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2709,7 +2709,6 @@ nsTextFrame::PaintUnicodeText(nsPresContext* aPresContext,
|
||||
aRenderingContext.SetColor(currentBKColor);
|
||||
aRenderingContext.FillRect(currentX, dy, newWidth, mRect.height);
|
||||
}
|
||||
currentFGColor = EnsureDifferentColors(currentFGColor, currentBKColor);
|
||||
}
|
||||
}
|
||||
else {
|
||||
@@ -3416,7 +3415,7 @@ nsTextFrame::PaintTextSlowly(nsPresContext* aPresContext,
|
||||
if (isRightToLeftOnBidiPlatform)
|
||||
currentX -= newDimensions.width;
|
||||
#endif
|
||||
if (isSelection)
|
||||
if (isSelection && !isPaginated)
|
||||
{//DRAW RECT HERE!!!
|
||||
if (!isCurrentBKColorTransparent) {
|
||||
aRenderingContext.SetColor(currentBKColor);
|
||||
|
||||
Reference in New Issue
Block a user