mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
e84f7f11b1
commit
f493486819
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user