зеркало из https://github.com/mozilla/gecko-dev.git
114184 - DrawCompositeSide can't deal with sides of differing widths, r=ben, sr=hyatt
This commit is contained in:
Родитель
c580303351
Коммит
9f8c29037d
|
@ -4306,7 +4306,7 @@ PRBool CSSParserImpl::ParseBorderColors(PRInt32& aErrorCode, nsICSSDeclaration*
|
|||
PRInt32& aChangeHint, nsCSSProperty aProperty)
|
||||
{
|
||||
nsCSSValue value;
|
||||
if (ParseVariant(aErrorCode, value, VARIANT_HCK, nsCSSProps::kBorderColorKTable)) {
|
||||
if (ParseVariant(aErrorCode, value, VARIANT_HCK|VARIANT_NONE, nsCSSProps::kBorderColorKTable)) {
|
||||
nsCSSValueList* listHead = new nsCSSValueList();
|
||||
nsCSSValueList* list = listHead;
|
||||
if (!list) {
|
||||
|
@ -4320,7 +4320,7 @@ PRBool CSSParserImpl::ParseBorderColors(PRInt32& aErrorCode, nsICSSDeclaration*
|
|||
aErrorCode = aDeclaration->AppendStructValue(aProperty, listHead);
|
||||
return NS_SUCCEEDED(aErrorCode);
|
||||
}
|
||||
if (ParseVariant(aErrorCode, value, VARIANT_HCK, nsCSSProps::kBorderColorKTable)) {
|
||||
if (ParseVariant(aErrorCode, value, VARIANT_HCK|VARIANT_NONE, nsCSSProps::kBorderColorKTable)) {
|
||||
list->mNext = new nsCSSValueList();
|
||||
list = list->mNext;
|
||||
if (list)
|
||||
|
|
|
@ -4306,7 +4306,7 @@ PRBool CSSParserImpl::ParseBorderColors(PRInt32& aErrorCode, nsICSSDeclaration*
|
|||
PRInt32& aChangeHint, nsCSSProperty aProperty)
|
||||
{
|
||||
nsCSSValue value;
|
||||
if (ParseVariant(aErrorCode, value, VARIANT_HCK, nsCSSProps::kBorderColorKTable)) {
|
||||
if (ParseVariant(aErrorCode, value, VARIANT_HCK|VARIANT_NONE, nsCSSProps::kBorderColorKTable)) {
|
||||
nsCSSValueList* listHead = new nsCSSValueList();
|
||||
nsCSSValueList* list = listHead;
|
||||
if (!list) {
|
||||
|
@ -4320,7 +4320,7 @@ PRBool CSSParserImpl::ParseBorderColors(PRInt32& aErrorCode, nsICSSDeclaration*
|
|||
aErrorCode = aDeclaration->AppendStructValue(aProperty, listHead);
|
||||
return NS_SUCCEEDED(aErrorCode);
|
||||
}
|
||||
if (ParseVariant(aErrorCode, value, VARIANT_HCK, nsCSSProps::kBorderColorKTable)) {
|
||||
if (ParseVariant(aErrorCode, value, VARIANT_HCK|VARIANT_NONE, nsCSSProps::kBorderColorKTable)) {
|
||||
list->mNext = new nsCSSValueList();
|
||||
list = list->mNext;
|
||||
if (list)
|
||||
|
|
Загрузка…
Ссылка в новой задаче