Changed MapStyleInto() to also reset mBackgroundAttachment when resetting
the BODY's background properties git-svn-id: svn://10.0.0.236/trunk@28533 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8f99974b64
commit
4756273f12
@ -531,6 +531,7 @@ BodyFixupRule::MapStyleInto(nsIStyleContext* aContext, nsIPresContext* aPresCont
|
||||
mutableStyleColor->mBackgroundFlags = NS_STYLE_BG_COLOR_TRANSPARENT |
|
||||
NS_STYLE_BG_IMAGE_NONE;
|
||||
mutableStyleColor->mBackgroundImage.SetLength(0);
|
||||
mutableStyleColor->mBackgroundAttachment = NS_STYLE_BG_ATTACHMENT_SCROLL;
|
||||
}
|
||||
NS_RELEASE(parentContext);
|
||||
}
|
||||
|
||||
@ -531,6 +531,7 @@ BodyFixupRule::MapStyleInto(nsIStyleContext* aContext, nsIPresContext* aPresCont
|
||||
mutableStyleColor->mBackgroundFlags = NS_STYLE_BG_COLOR_TRANSPARENT |
|
||||
NS_STYLE_BG_IMAGE_NONE;
|
||||
mutableStyleColor->mBackgroundImage.SetLength(0);
|
||||
mutableStyleColor->mBackgroundAttachment = NS_STYLE_BG_ATTACHMENT_SCROLL;
|
||||
}
|
||||
NS_RELEASE(parentContext);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user