W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

Re: [csswg-drafts] [css-color] "device-cmyk" restrictions are counter-productive (#2022)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Mar 2020 22:44:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-600336778-1584485097-sysbot+gh@w3.org>
Coming back to this, and specifically the idea that device-cmyk should be defined with an `@color-profile` in the user-agent stylesheet, this is now slightly complicated by the otherwise good resolution to https://github.com/w3c/csswg-drafts/issues/4654 which put predefined colorspaces and author-defined colorspaces into two disjoint groups, the latter using the new `dashed-ident` production.

However, the general idea still has merit and would be an improvement over the rather handwavy prose that sometimes magically turns a device-dependent formulation into an actual color.

On a related note there are now [some examples in the spec about using `color()` with CMYK](https://drafts.csswg.org/css-color-4/Overview.html#cal-cmyk), with both FOGRA (Europe, UK) and SWOP (US).  Which led me once again to the idea if defining how device-cmyk works in a similar manner.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2022#issuecomment-600336778 using your GitHub account
Received on Tuesday, 17 March 2020 22:45:00 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC