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

Re: [csswg-drafts] [css-color][cssom] Serialization of specified <color> values (#1004)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Mon, 19 Oct 2020 11:41:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-712099437-1603107684-sysbot+gh@w3.org>
Note that the spec [currently treats rgba as legacy](https://drafts.csswg.org/css-color-4/#rgb-functions) so the Gecko and Blink `rgba(0, 128, 0, 1)` as `rgb(0, 128, 0)` is correct (and the Edge behavior has presumably changed meanwhile to the Blink behavior).

I would also therefore expect `rgba(0, 128, 0, 0.5)` or `rgba(0, 128, 0, 50%)` to serialize as  `rgb(0, 128, 0 0.5)`, right? If so that needs to be stated explicitly.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1004#issuecomment-712099437 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 19 October 2020 11:41:28 UTC

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