Skip to content

Commit b239830

Browse files
committed
added support for hwb
1 parent 5b0d3f3 commit b239830

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

org/w3c/css/parser/analyzer/CssParser.jj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3048,6 +3048,9 @@ CssValue function() :
30483048
} else if (funcname.equals("hsla(")) {
30493049
color.setHSLAColor(exp, ac);
30503050
return color;
3051+
} else if (funcname.equals("hwb(")) {
3052+
color.setHWBColor(exp, ac);
3053+
return color;
30513054
} else if (funcname.equals("image(")) {
30523055
CssImage img = new CssImage();
30533056
img.setImageList(exp, ac);

0 commit comments

Comments
 (0)