- From: Sam Weinig via GitHub <sysbot+gh@w3.org>
- Date: Wed, 12 Oct 2022 23:25:51 +0000
- To: public-css-archive@w3.org
weinig has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-4] Clarification on how `channel keywords` with multiple specified types work == In the [relative color syntax](https://drafts.csswg.org/css-color/#relative-colors) section of CSS Color 4, some of the `channel keywords` specify more than one type. For instance, the channel color `l` for the `lab()` relative color syntax states: > - `l` is a [`<percentage>`](https://drafts.csswg.org/css-values-4/#percentage-value) or [`<number>`](https://drafts.csswg.org/css-values-4/#number-value) that corresponds to the [origin color’s](https://drafts.csswg.org/css-color/#origin-color) CIE Lightness (https://drafts.csswg.org/css-color/#valdef-lab-l) I am unclear on what this means with respect to using `l` in a `calc()` expression. For instance, in the following contrived case: ``` lab(from purple calc(l + 2) a b / 100%) ``` should I be interpreting `l` as a `<percentage>` or a `<number>`? (or am I missing something fundamental about calc that makes this not an issue?) Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7876 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 12 October 2022 23:25:53 UTC