[csswg-drafts] Remove ICC named color profiles (#6095)

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

== Remove ICC named color profiles ==
Currently, the `color()` function when used with a color profile accepts either numeric parameters or string parameters. The latter is for use with `named color profiles`. These are not well supported (It took me quite a while to find an actual live example for testing), are not allowed in PDF (for CSS to PDF generators) and, for the simple use case of expressing a palette of named colors, CSS Custom Properties aka CSS Variables are an easier and more CSS-like way to produce that palette.

So this is a proposal to remove them from the spec:

- the `color()` property would be simplified, the whole part about string parameters would be removed
- the `@color-profile` would not be allowed to link to them (related discussion at https://github.com/w3c/csswg-drafts/issues/6024#issue-812615639)

Instead I would add an example of using CSS Custom properties to specify a palette of colors.


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


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

Received on Thursday, 11 March 2021 18:00:14 UTC