W3C home > Mailing lists > Public > www-style@w3.org > July 2011

Re: [css3-images] Premultiplication switch (was: gradient pre-multiplied interpolation)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 27 Jul 2011 09:03:52 -0700
Message-ID: <CAAWBYDDFx-nyeXrWNM_-Xi7UUwQ6jo0gGmdf4PRTYV7HDdiY7w@mail.gmail.com>
To: Leif Arne Storset <lstorset@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Wed, Jul 27, 2011 at 5:37 AM, Leif Arne Storset <lstorset@opera.com> wrote:
> I agree with Alan that the effects demonstrated at [0] are desirable, but
> premultiplied is a much better default. The switching idea is worth
> considering, however. I think use of the rgba() and hsla() are potentially
> confusing as switches, but an explicit 'unpremultiplied' switch wouldn't
> be: 'linear-gradient(left, unpremultiplied, rgba(255,255,0,0), yellow)'.

I believe a better approach would be to augment SVG's
color-interpolation property with options for switching between
premultiplied and non-premultiplied.  That way other things could
potentially switch as well, like transitions.

Received on Wednesday, 27 July 2011 16:04:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:02 UTC