Don't do translation during table border painting. b=421069 Patch by Robert O'Callahan <roc@ocallahan.org>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@248221 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -574,11 +574,10 @@ nsDisplayTableRowBackground::Paint(nsDisplayListBuilder* aBuilder,
|
||||
nsTableFrame* tableFrame = nsTableFrame::GetTableFrame(mFrame);
|
||||
|
||||
nsPoint pt = aBuilder->ToReferenceFrame(mFrame);
|
||||
nsIRenderingContext::AutoPushTranslation translate(aCtx, pt.x, pt.y);
|
||||
TableBackgroundPainter painter(tableFrame,
|
||||
TableBackgroundPainter::eOrigin_TableRow,
|
||||
mFrame->PresContext(), *aCtx,
|
||||
aDirtyRect - pt);
|
||||
aDirtyRect, pt);
|
||||
painter.PaintRow(static_cast<nsTableRowFrame*>(mFrame));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user