Re: [csswg-drafts] [css-color-4] Missing info about Premultiplication and Undefined values (#7536)

> `none` is treated as 0 if the color needs to be displayed. It's unclear how conversion is supposed to happen, but I agree that would be the only reasonable thing to do.

Ah, okay, then it must have been casually suggested at some time, but not formally made it into the spec, or maybe I inferred it as it made the most sense to me. That clears up some of the confusion though.

> So not only is using `none` a very complex solution, it doesn't even address all the use cases.

I completely agree. It's kind of the reason I think trying to make them resolve perfectly in all situations (across color space conversion for instance) is not worth the effort, and there will always be some loss for any gain you try to compensate for.

I do think they have some use in interpolation, and I think that may be the only place. I think dropping them during conversion and clearly stating what happens to them is probably more than enough, but if a more drastic change was to be made, I think simpler is better.

Well, I've probably said enough 🙂 . I'll wait for whatever resolution is decided upon.

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


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

Received on Sunday, 31 July 2022 17:43:39 UTC