Skip to content

Commit 7c94d60

Browse files
committed
fix the 'auto' single value case
1 parent 4d03595 commit 7c94d60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

org/w3c/css/properties/css3/fontface/CssFontWeight.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ public CssFontWeight(ApplContext ac, CssExpression expression, boolean check)
6262
if (expression.getCount() > 1) {
6363
throw new InvalidParamException("unrecognize", ac);
6464
}
65+
values.add(val);
66+
break;
6567
}
6668
if (getAllowedAbsoluteValue(id) != null) {
6769
values.add(val);

0 commit comments

Comments
 (0)