postcss-color-hwb icon indicating copy to clipboard operation
postcss-color-hwb copied to clipboard

Incorrect syntax

Open jonathantneal opened this issue 7 years ago • 0 comments

From CSS Color Module Level 4: HWB Colors: hwb() function:

The syntax of the hwb() function is:

hwb() = hwb( <hue> <percentage> <percentage> [ / <alpha-value> ]? )

The syntax used by this plugin is incorrect due to the additional commas. An earlier version of the specification uses commas, but this is not the version referenced by this project, and this earlier version was not implemented in any browser. However, this earlier version is also used by color, so fixing this may require bigger changes.

jonathantneal avatar Jan 20 '18 06:01 jonathantneal