114184 - DrawCompositeSide can't deal with sides of differing widths, r=ben, sr=hyatt

This commit is contained in:
hewitt%netscape.com 2001-12-11 11:13:53 +00:00
Родитель c580303351
Коммит 9f8c29037d
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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)