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

[csswg-drafts] [css-color] context aware transparent (#3682)

From: Alex Inkin via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 Feb 2019 15:24:15 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-415179852-1551281054-sysbot+gh@w3.org>
waterplea has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color] context aware transparent ==
https://drafts.csswg.org/css-color/#transparent-color

Right now keyword `transparent` equals to `rgba(0, 0, 0, 0)` and Safari is the only browser that follows it. Yes, even IE interprets it smartly. That is if we make linear gradient from blue to transparent all browsers will interpret it as rgba(0, 0, 255, 1) to rgba(0, 0, 255, 0). This is great and every browser does so, however for Safari you cannot write color transitions like that and have to specify both colors explicitly.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3682 using your GitHub account
Received on Wednesday, 27 February 2019 15:24:16 UTC

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