Fixed the value of the background-image property when it's not set in the composite background property

This commit is contained in:
kipp%netscape.com 1998-09-25 23:35:55 +00:00
parent 5e2bf46334
commit dc09f46996
3 changed files with 3 additions and 6 deletions

View File

@ -1913,8 +1913,7 @@ PRBool CSSParserImpl::ParseBackground(PRInt32* aErrorCode, nsICSSDeclaration* aD
}
if ((found & 2) == 0) {
aDeclaration->AppendValue(kBackgroundNames[1],
nsCSSValue(NS_STYLE_BG_IMAGE_NONE,
eCSSUnit_Enumerated));
nsCSSValue(eCSSUnit_None));
}
if ((found & 4) == 0) {
aDeclaration->AppendValue(kBackgroundNames[2],

View File

@ -1913,8 +1913,7 @@ PRBool CSSParserImpl::ParseBackground(PRInt32* aErrorCode, nsICSSDeclaration* aD
}
if ((found & 2) == 0) {
aDeclaration->AppendValue(kBackgroundNames[1],
nsCSSValue(NS_STYLE_BG_IMAGE_NONE,
eCSSUnit_Enumerated));
nsCSSValue(eCSSUnit_None));
}
if ((found & 4) == 0) {
aDeclaration->AppendValue(kBackgroundNames[2],

View File

@ -1913,8 +1913,7 @@ PRBool CSSParserImpl::ParseBackground(PRInt32* aErrorCode, nsICSSDeclaration* aD
}
if ((found & 2) == 0) {
aDeclaration->AppendValue(kBackgroundNames[1],
nsCSSValue(NS_STYLE_BG_IMAGE_NONE,
eCSSUnit_Enumerated));
nsCSSValue(eCSSUnit_None));
}
if ((found & 4) == 0) {
aDeclaration->AppendValue(kBackgroundNames[2],