Skip to content

Commit c898850

Browse files
committed
fix operator check for cmyk parsing
1 parent 7e1d486 commit c898850

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

org/w3c/css/values/CssColor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,8 @@ public void setDeviceCMYKColor(ApplContext ac, CssExpression exp)
12201220
exp.starts();
12211221
throw new InvalidParamException("rgb", val, ac); // FIXME lch
12221222
}
1223+
// need to check if we get a comma after this.
1224+
op = exp.getOperator();
12231225
exp.next();
12241226
}
12251227
if (op == COMMA) {

0 commit comments

Comments
 (0)