зеркало из https://github.com/mozilla/pjs.git
Changed MapStyleInto() to also reset mBackgroundAttachment when resetting
the BODY's background properties
This commit is contained in:
Родитель
e0d43d48a6
Коммит
662e818b3f
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче