[csswg-drafts] [css-color-5] relative `color()` function isn't immediately clear (#8841)

romainmenke has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-5] relative `color()` function isn't immediately clear ==
As far as I can tell there isn't any issue in the specification, it just isn't easy to to immediately understand `color()` in terms of relative color syntax.

-----

different naming :

- in css-color-4 : `Specifying Predefined Colors: the color() function`
- in css-color-5 : `Specifying Custom Color Spaces: the color() Function`

At first this seems as if it is a different aspect of `color()`, and it isn't clear that relative color syntax for predefined color spaces is also defined within this section.

------

missing/confusing examples :

Examples 28/29 focus on gamut mapping, valid values, ... 
- https://drafts.csswg.org/css-color-5/#ex-2020-oog-p3
- https://drafts.csswg.org/css-color-5/#ex-profoto-bad

But they follow the section that explains relative color syntax for the `color()` function.

There is no example of relative color syntax for the `color()` function.

-----

Is it possible that there was some restructuring done here at some point and that not everything landed exactly where/how it should?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8841 using your GitHub account


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

Received on Saturday, 13 May 2023 17:20:42 UTC