W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

Re: [csswg-drafts] [css-color] Serializing color() values

From: Dean Jackson via GitHub <sysbot+gh@w3.org>
Date: Fri, 21 Apr 2017 03:28:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-296040241-1492745335-sysbot+gh@w3.org>
Resolved. An input of "color" always serializes as "color" Everything else is undefined.

Extra requirement is that "color" serialization doesn't truncate trailing 0 values. e.g. color(srgb 1 0 0).
It is required to drop the "/ 1" for alpha though (if alpha is 100%).

-- 
GitHub Notification of comment by grorg
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/480#issuecomment-296040241 using your GitHub account
Received on Friday, 21 April 2017 03:29:02 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC