Backed out changeset 231e5d92a129 (bug 1209273)

This commit is contained in:
Carsten "Tomcat" Book
2016-03-30 15:19:13 +02:00
parent d9010f5704
commit c96ffb5fa9

View File

@@ -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();
}