Re: [csswg-drafts] [css-color-5] Hue interpolation when using 2 different normalization strategies (#5964)

@devmattrick  wrote

> it allows for both arguments of the function to be hue interpolated with different normalization strategies. 

Ouch, yeah, good catch! I can't think of a reasonable use case for that, I guess it just falls out of how the syntax is expressed. Clearly, the two hues need to be mixed using a single normalization strategy.

One way to fix this is to make the syntax a bit more complex so the first hue can have a normalization strategy and the second can't. Another is to require them to both be the same (I don't like that one, having to repeat a value is bad) and the third way is to say that the first 9or last, whatever) strategy wins.

The spec should however be clear that the hue normalization is for mixing **pairs** of hues.

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


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

Received on Monday, 29 March 2021 05:47:09 UTC