negative border widths are not legal in CSS. bug 167657, r=glazou,
sr=dbaron. git-svn-id: svn://10.0.0.236/trunk@129189 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3738,8 +3738,8 @@ PRBool CSSParserImpl::ParseSingleValueProperty(PRInt32& aErrorCode,
|
||||
case eCSSProperty_border_left_width:
|
||||
case eCSSProperty_border_right_width:
|
||||
case eCSSProperty_border_top_width:
|
||||
return ParseVariant(aErrorCode, aValue, VARIANT_HKL,
|
||||
nsCSSProps::kBorderWidthKTable);
|
||||
return ParsePositiveVariant(aErrorCode, aValue, VARIANT_HKL,
|
||||
nsCSSProps::kBorderWidthKTable);
|
||||
case eCSSProperty__moz_border_radius_topLeft:
|
||||
case eCSSProperty__moz_border_radius_topRight:
|
||||
case eCSSProperty__moz_border_radius_bottomRight:
|
||||
|
||||
Reference in New Issue
Block a user