зеркало из https://github.com/mozilla/gecko-dev.git
Fixed the value of the background-image property when it's not set in the composite background property
This commit is contained in:
Родитель
5e2bf46334
Коммит
dc09f46996
|
@ -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],
|
||||
|
|
|
@ -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],
|
||||
|
|
|
@ -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],
|
||||
|
|
Загрузка…
Ссылка в новой задаче