- From: Jonathan Neal via GitHub <sysbot+gh@w3.org>
- Date: Tue, 04 Feb 2020 15:26:27 +0000
- To: public-css-archive@w3.org
jonathantneal has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-5] comma-separated syntax clarification == First, thank you so much to everyone continually imagining these color functions for CSS. ❤️ Would you help me understand the syntax for [`color-adjust()`](https://drafts.csswg.org/date/2020-02-04T06:48:16/css-color-5/#coloradjust)? ``` color-adjust() = color-adjust( <color> [ [=color-functions|color-function=] <colorspace>? ]?] ) ``` 1. What does the **U+003D EQUALS SIGN (`=`)** mean in this syntax? 2. Will `color-adjust()` receive a comma-separated list of values, as seen in [**Example 8**](https://drafts.csswg.org/date/2020-02-04T06:48:16/css-color-5/#example-08a28efd)? ``` color-adjust(peru, lightness(-20%)); ``` 3. Would the answers these questions also apply to [`color-mix()`](https://drafts.csswg.org/date/2020-02-04T06:48:16/css-color-5/#colormix) and [`color-contrast()`](https://drafts.csswg.org/date/2020-02-04T06:48:16/css-color-5/#colorcontrast)? --- **Additional Background**: Based on that comma-separated example, I may have expected `[=color-functions|color-function=]` to instead read as `<color-function>#` ([syntax reference](https://drafts.csswg.org/css-values-4/#mult-comma)). I would love the opportunity to better understand these syntax definition things in general. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4738 using your GitHub account
Received on Tuesday, 4 February 2020 15:26:29 UTC