Re: [csswg-drafts] [css-color-4] [css-color-5] inconsistent mentions of powerless components in `white`. (#8609)

@facelessuser are you sure that what you are seeing aren't implementation bugs :)
I don't think we can use any browser implementation as a reference at this time.

A gradient that has a starting color stop of white shouldn't be blue.
If it renders what is essentially `color-mix(in oklch, oklch(100% none none) 100%, blue 0%)` as blue it is definitely bugged. The end result of that interpolation must be a color with `100%` lightness and that should always be achromatic white.

https://codepen.io/romainmenke/pen/ZEMNYLO

Chrome today :

<img width="1470" alt="Screenshot 2023-03-30 at 09 09 39" src="https://user-images.githubusercontent.com/11521496/228757172-650c9e5a-797b-48a0-9495-51fd8eb77b56.png">

Safari today :
<img width="1470" alt="Screenshot 2023-03-30 at 09 10 03" src="https://user-images.githubusercontent.com/11521496/228757264-4e3ae6e3-172f-4339-bb24-467006aefbd7.png">

It is clear that no browser currently has a good/working implementation for "interpolate between white and blue in oklch".

There are so many bugs here around handling of powerless components and out of gamut clipping that it is safe to say that both are just plain broken.


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


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

Received on Thursday, 30 March 2023 07:11:49 UTC