W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

[csswg-drafts] [css-color-4] Make it more clear which predefined colorspaces allow percentages in the color() function (#5894)

From: weinig via GitHub <sysbot+gh@w3.org>
Date: Mon, 25 Jan 2021 19:30:15 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-793664338-1611603014-sysbot+gh@w3.org>
weinig has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-4] Make it more clear which predefined colorspaces allow percentages in the color() function ==
It would be useful to make it very clear which of the predefined colorspaces (https://www.w3.org/TR/css-color-4/#predefined) accepted by the color function allow or disallow percentages. 

For example, I would assume color(srgb 50% 50% 50%) is valid, but color(xyz 50% 50% 50%) is not (since you can't take 50% of +infinity). color(lab ) is currently clear as it states: `The lab [CIELAB] colorspace accepts one percentage and two numeric parameters,...` 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 25 January 2021 19:30:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:38 UTC