- From: Anne van Kesteren <annevk@opera.com>
- Date: Fri, 04 Feb 2011 15:32:58 +0100
On Thu, 03 Feb 2011 19:55:21 +0100, Boris Zbarsky <bzbarsky at mit.edu> wrote: > It looks like CSS rgba colors with an alpha value of 0 are serialized as > rgba() with "0" as the alpha value. in at least Gecko, Webkit, and > Presto. > > It also looks like canvas style color with an alpha value of 0 are > serialized as rgba() with "0.0" as the alpha value in Gecko 3.6, Webkit, > and Presto. Either way is fine. Note however that when there is no alpha-channel involved the differences are much greater between CSS and <canvas>. At least in Gecko/WebKit. I.e. rgb() vs #rrggbb. That probably cannot be changed though. -- Anne van Kesteren http://annevankesteren.nl/
Received on Friday, 4 February 2011 06:32:58 UTC