- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Fri, 17 Mar 2023 21:59:54 +0000
- To: public-css-archive@w3.org
romainmenke has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-4] [css-color-5] inconsistent mentions of powerless components in `white`. == https://drafts.csswg.org/css-color-4/#specifying-oklab-oklch > If the lightness of an Oklch color is 0% or 0, or 100% or 1.0, both the hue and chroma components are powerless. So `white` should be equivalent to `oklch(100% none none)`. https://drafts.csswg.org/css-color-5/#ex-mix-blue-white > Example 6 > white is rgb(100% 100% 100%) which is lch(100% 0 none) which is oklch(100% 0 none) > blue is rgb(0% 0% 100%) which is lch(29.5683% 131.201 301.364) which is oklch(45.201% 0.31321 264.052) ------ Chrome : `oklch(0.725987 0.15663 323.92)` <img width="75" alt="Screenshot 2023-03-17 at 22 51 53" src="https://user-images.githubusercontent.com/11521496/226059730-05d0b77d-0631-4581-adf4-d3242f81539e.png"> Safari : `oklch(0.72600687 0.15660721 177.02602)` <img width="144" alt="Screenshot 2023-03-17 at 22 52 19" src="https://user-images.githubusercontent.com/11521496/226059761-bf49c741-ce5c-4a55-ba43-0a586f30c502.png"> Specification : `oklch(72.601% 0.15661 264.052)` <img width="149" alt="Screenshot 2023-03-17 at 22 57 15" src="https://user-images.githubusercontent.com/11521496/226060264-6cb5886c-c19e-43ba-9b6e-095cbd3e9d5b.png"> What I think it should actually be : `oklch(72.601% 0.31321 264.052)` <img width="97" alt="Screenshot 2023-03-17 at 22 57 44" src="https://user-images.githubusercontent.com/11521496/226060326-ad52914b-b681-4f14-a0e3-36a3f064b200.png"> ------ I think we are seeing the same implementation issues as in : - https://github.com/w3c/csswg-drafts/issues/8563 - https://github.com/w3c/csswg-drafts/issues/8602 But this might require different specification and test edits to resolve. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8609 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 17 March 2023 21:59:56 UTC