Skip to content

Commit a20b163

Browse files
committed
fix csswide idents
1 parent 0180af2 commit a20b163

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

org/w3c/css/properties/css3/CssOverflowClipMargin.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,13 @@ public CssOverflowClipMargin(ApplContext ac, CssExpression expression, boolean c
8787
break;
8888
case CssTypes.CSS_IDENT:
8989
CssIdent id = val.getIdent();
90-
if (CssIdent.isCssWide(id) && expression.getCount() > 1) {
91-
throw new InvalidParamException("value", val,
92-
getPropertyName(), ac);
90+
if (CssIdent.isCssWide(id)) {
91+
if (expression.getCount() > 1) {
92+
throw new InvalidParamException("value", val,
93+
getPropertyName(), ac);
94+
}
95+
v.add(val);
96+
break;
9397
}
9498
if (getVisualBoxIdent(id) != null) {
9599
if (got_visualbox) {

0 commit comments

Comments
 (0)