- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 Aug 2024 20:20:08 +0000
- To: public-css-archive@w3.org
I don't think the difference between `oklch(from color(display-p3 1.2 -0.1 05) l c h)` and `oklch(from color(display-p3 1.2 -0.1 05))` is meaningful. ^_^ For the original case, while omitting the non-alpha components is grammatically distinguishable, I don't think it's a great idea for readability. You can't omit channels in the normal function version, which would mean the relative syntax diverges from the absolute syntax in more ways; currently it's just an addition (letting you use channel keywords). Basically, I just don't think having to write `r g b` in `rgb(from var(--foo) r g b / .5)` is much of an imposition. If it really is, then having a more dedicated function, like `opacity(var(--foo) .5)` would be *even shorter and clearer*. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10689#issuecomment-2269847765 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 5 August 2024 20:20:09 UTC