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

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