Backed out changeset 231e5d92a129 (bug 1209273)
This commit is contained in:
@@ -1985,10 +1985,7 @@ nsCSSRendering::DetermineBackgroundColor(nsPresContext* aPresContext,
|
|||||||
aDrawBackgroundImage = true;
|
aDrawBackgroundImage = true;
|
||||||
aDrawBackgroundColor = true;
|
aDrawBackgroundColor = true;
|
||||||
|
|
||||||
const nsStyleVisibility* visibility = aStyleContext->StyleVisibility();
|
if (aFrame->HonorPrintBackgroundSettings()) {
|
||||||
|
|
||||||
if (visibility->mColorAdjust != NS_STYLE_COLOR_ADJUST_EXACT &&
|
|
||||||
aFrame->HonorPrintBackgroundSettings()) {
|
|
||||||
aDrawBackgroundImage = aPresContext->GetBackgroundImageDraw();
|
aDrawBackgroundImage = aPresContext->GetBackgroundImageDraw();
|
||||||
aDrawBackgroundColor = aPresContext->GetBackgroundColorDraw();
|
aDrawBackgroundColor = aPresContext->GetBackgroundColorDraw();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user