W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2019

[csswg-drafts] [css-color][css-values] Merge <alpha-value> and <cmyk-component> in <color-component> (#4494)

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 Nov 2019 09:57:59 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-519160174-1573120678-sysbot+gh@w3.org>
Crissov has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color][css-values] Merge <alpha-value> and <cmyk-component> in <color-component> ==
As already mentioned in #4477, [`<alpha-value>`](https://drafts.csswg.org/css-color/#typedef-alpha-value) is redundant with [`<cmyk-component>`](https://drafts.csswg.org/css-color/#typedef-cmyk-component), because both are effectively defined as `<number [0.0, 1.0]> | <percentage>`. Since `color()` shall allow either type as well, it would make sense to have a single value type `<color-component>` for all of these, even if we can never have a generic `<number-percentage>` type in [css-value]. 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4494 using your GitHub account
Received on Thursday, 7 November 2019 09:58:01 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 2 July 2022 03:21:25 UTC