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

Re: [css3-images] Gradients feedback

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 10 Sep 2010 09:38:46 -0700
Message-ID: <AANLkTintC4u00FW_gFsXc_G1fK8nvzHNgAsCsvw+PGw5@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: Alan Gresley <alan@css-class.com>, Philippe Wittenbergh <ph.wittenbergh@l-c-n.com>, www-style list <www-style@w3.org>
On Fri, Sep 10, 2010 at 8:49 AM, Simon Fraser <smfr@me.com> wrote:
> On Sep 10, 2010, at 8:01 AM, Tab Atkins Jr. wrote:
>> On Fri, Sep 10, 2010 at 5:01 AM, Alan Gresley <alan@css-class.com> wrote:
>>> I see what BZ means. Almost the entire length of the gradient is
>>> semi-opaque. It seems to become more transparent at an even rate. I myself
>>> would like what is currently happening for some cases. Here is an example.
>>>
>>> <http://css-class.com/test/css/colors/gradient-test1.htm>
>>>
>>> It would look different if the gradients were premultiplied.
>>
>> Right, it would look different.  The point is that it would look
>> *better* in most situations.
>
> I think we should strive for consistency here with:'
> * SVG gradients
> * 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.

Agreed.

> We've already decided to use premultiplied colors for transitions. FWIW.

Excellent.  I'll commit to the change, then.

~TJ
Received on Friday, 10 September 2010 16:39:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT