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

[css3-images] A specified algorithm for premultiplied gradients

From: Leif Arne Storset <lstorset@opera.com>
Date: Tue, 07 Dec 2010 14:42:07 +0100
Cc: Fredrik Söderquist <fs@opera.com>
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.vnci0hx5tmo5g6@nynorsk>
The color stop section [0] of the gradients spec currently reads:

> Between two color-stops, the line's color is linearly interpolated  
> between the colors of the two color-stops, with the interpolation taking  
> place in premultiplied RGBA space.

Our graphics people have requested that a specific algorithm be specified
for this interpolation. Perhaps something like Boris Zbarsky's [1] could
be used. It sure helped me understand what was going on, at least.

Transitions [2] may want to specify this too, at least if premultiplied is  
here to stay.

0. http://dev.w3.org/csswg/css3-images/#color-stop-syntax
1. http://lists.w3.org/Archives/Public/www-style/2010Aug/0589.html
2. http://dev.w3.org/csswg/css3-transitions/#animation-of-property-types-

Leif Arne Storset
Core Technology Developer, Opera Software
Oslo, Norway
Received on Tuesday, 7 December 2010 13:42:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:41 UTC