Re: [csswg-drafts] [css-color-5] Why is <hue-adjuster> at the end of color-mix()? (#6772)

Seems reasonable.

To clarify: what happens if someone **does**  use a hue adjuster with a rectangular orthogonal colorspace? Is it an error, or is it ignored?

Currently the spec [says](https://drafts.csswg.org/css-color-5/#color-mix):

> If the specified color space is a cylindrical-polar-color space, then the `<hue-adjuster>` controls the interpolation of hue, as described in CSS Color 4 ยง 13.3 Hue interpolation. If no `<hue-adjuster>` is specified, it is as if shorter had been specified. If the specified colorspace is a rectangular-orthogonal-color space, then specifying a `<hue-adjuster>` is not an error, but has no effect.)

I would also like to be sure that this syntax change is really worthwhile, given that the current syntax is already shipping in a released (not preview/beta) major browser. Bikeshedding has a non-zero cost.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6772#issuecomment-953887762 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 28 October 2021 14:12:31 UTC