зеркало из https://github.com/mozilla/gecko-dev.git
Address my own review comment: Restore IsTransparent() check, which should restore old behavior for background-images when printing backgrounds is disabled. (Bug 456219) r=zwol
This commit is contained in:
Родитель
aefe9fb399
Коммит
1a022d37d8
|
@ -1315,7 +1315,7 @@ nsCSSRendering::PaintBackgroundWithSC(nsPresContext* aPresContext,
|
|||
drawBackgroundColor = PR_FALSE;
|
||||
} else {
|
||||
bgColor = NS_RGB(255, 255, 255);
|
||||
if (drawBackgroundImage || NS_GET_A(aColor.mBackgroundColor) > 0)
|
||||
if (drawBackgroundImage || !aColor.IsTransparent())
|
||||
drawBackgroundColor = PR_TRUE;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче