Make sure all caller have to pass in the "ignore 'print backgrounds'
preference" boolean. Make block/inline _not_ ignore that pref. Bug 191574, r+sr=dbaron, a=asa
This commit is contained in:
@@ -184,7 +184,7 @@ nsButtonFrameRenderer::PaintBorderAndBackground(nsIPresContext* aPresContext,
|
||||
|
||||
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, mFrame,
|
||||
aDirtyRect, buttonRect, *border, *padding,
|
||||
0, 0);
|
||||
0, 0, PR_FALSE);
|
||||
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, mFrame,
|
||||
aDirtyRect, buttonRect, *border, context, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user