diff --git a/org/w3c/css/values/ColorMix.java b/org/w3c/css/values/ColorMix.java index 6cf2ecde3..233c99921 100644 --- a/org/w3c/css/values/ColorMix.java +++ b/org/w3c/css/values/ColorMix.java @@ -119,6 +119,7 @@ public static CssValue parseColorInterpolationMethod(ApplContext ac, CssExpressi return new CssValueList(values); } else { val = exp.getValue(); + op = exp.getOperator(); if (val.getType() == CssTypes.CSS_IDENT) { id = val.getIdent(); if (getAllowedValue(id, hueInterpolationMethodModifiers) != null) { @@ -231,7 +232,7 @@ public String toString() { StringBuilder sb = new StringBuilder("color-mix("); boolean isFirst = true; if (color_interpolation_method != null) { - sb.append(color_interpolation_method).append(", "); + sb.append(color_interpolation_method); isFirst = false; } for (CssValue v : color_percentages) {