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

@facelessuser Are you sure there aren't any bugs on your end?
Those results do not match what I am seeing in our implementation.

I don't understand why you would get a hue shift here.

```css
.foo {
 background: linear-gradient(to right, rgb(255, 255, 255) 0%, color(display-p3 0.57766 0.85014 1.67992), color(display-p3 0.51024 0.77327 1.59733), color(display-p3 0.44387 0.69646 1.51535), color(display-p3 0.37854 0.61944 1.43399), color(display-p3 0.31424 0.54177 1.35327), color(display-p3 0.25084 0.4627 1.27319), color(display-p3 0.18808 0.38082 1.19377), color(display-p3 0.12528 0.29307 1.11502), color(display-p3 0.05998 0.19058 1.03695), rgb(0, 0, 255) 100%); /* generated fallback */
 background: linear-gradient(to right in oklch, white 0%, blue 100%); /* original */
}
```

Should look like :

<img width="484" alt="Screenshot 2023-03-29 at 23 29 16" src="https://user-images.githubusercontent.com/11521496/228671996-b6aa1752-5965-4a36-86db-8ecc81833ef0.png">


----

```css
.foo {
 background: linear-gradient(to right, rgb(255, 255, 255) 0%, color(display-p3 0.89543 0.92911 1.00686), color(display-p3 0.79238 0.85738 1.01077), color(display-p3 0.69089 0.78448 1.01198), color(display-p3 0.59093 0.70993 1.01068), color(display-p3 0.49247 0.63302 1.00706), color(display-p3 0.39536 0.55257 1.0013), color(display-p3 0.29925 0.46652 0.99353), color(display-p3 0.20328 0.37049 0.9839), color(display-p3 0.10457 0.25236 0.97254), rgb(0, 0, 255) 100%); /* generated fallback */
 background: linear-gradient(to right in oklch, oklch(100% 0 none) 0%, blue 100%); /* original */
}
```

Should look like :

<img width="490" alt="Screenshot 2023-03-29 at 23 37 21" src="https://user-images.githubusercontent.com/11521496/228673521-76b59bde-e031-49fe-873c-9cce823a0322.png">

----

The second example with `0` chroma is slightly less saturated, but there isn't any difference in hue between these two.

------

It is not unlikely that what I am doing here isn't a good way to verify this part of the specification.

But using the tools I have, to try and illustrate how we've interpreted and implemented the specification.

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


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

Received on Wednesday, 29 March 2023 21:41:21 UTC