W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [css3-images] Gradients feedback

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 10 Sep 2010 13:38:10 -0400
Message-ID: <4C8A6D02.1040707@mit.edu>
To: Simon Fraser <smfr@me.com>
CC: www-style list <www-style@w3.org>
On 9/10/10 11:49 AM, Simon Fraser wrote:
> I think we should strive for consistency here with:'
> * SVG gradients

Agreed.  Note that SVG colors always have alpha == 1, so you can't have 
a gradient with non-opaque colors or stops in SVG.  So no matter what we 
do here it'll be consistent with SVG as it stands now.

> * color transitions
> In the latter case, if I have a horizontal gradient, and I run a transition on 'left' and 'background-color' of a child element over the top, the background-color of that child should match the color of the portion of the gradient it is over.
> We've already decided to use premultiplied colors for transitions. FWIW.

Yep, for the same reasons that we're suggesting premultiplied for gradients.

Sounds like we're on the same page here.

Received on Friday, 10 September 2010 17:38:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:47 UTC