Commit 06b65573 authored by Andrea Iacovitti's avatar Andrea Iacovitti

Negative lengths are not allowed for outline and border -width.

BUG: 256755
FIXED-IN: 4.13.3
parent ca11720e
......@@ -875,7 +875,7 @@ bool CSSParser::parseValue( int propId, bool important )
if (id == CSS_VAL_THIN || id == CSS_VAL_MEDIUM || id == CSS_VAL_THICK)
valid_primitive = true;
else
valid_primitive = ( validUnit( value, FLength, strict ) );
valid_primitive = ( validUnit( value, FLength|FNonNeg, strict ) );
break;
case CSS_PROP_LETTER_SPACING: // normal | <length> | inherit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment