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