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

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

With my suggested grammar, it would be a syntax error; the rectangular spaces don't allow a `<hue-adjuster>`. Since a hue adjuster is *nonsensical* for rectangular spaces, I do think making it a syntax error is better than just ignoring it (but I understand why you're ignoring it currently, as otherwise the grammar would be really clumsy to write).

> 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.

Ugh, I didn't realize color-mix() was shipping already. In Safari, I presume? Yeah, we should check with the implementors.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6772#issuecomment-954118956 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 19:02:03 UTC