W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2016

Re: Grayscale, lacuna value, and optional argument

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 16 Mar 2016 15:28:15 -0700
Message-ID: <CAAWBYDBbufhLnuNDYhanpSPOvSq5AUB4DMJ1Lbk7Et8v4+vv6A@mail.gmail.com>
To: Alan Cutter <alancutter@chromium.org>
Cc: Amelia Bellamy-Royds <amelia.bellamy.royds@gmail.com>, Tavmjong Bah <tavmjong@free.fr>, Chris Lilley <chris@w3.org>, "public-fx@w3.org" <public-fx@w3.org>
On Tue, Mar 15, 2016 at 7:40 PM, Alan Cutter <alancutter@chromium.org> wrote:
> If the default value for these filter functions are going to change to
> non-neutral values we should make sure the interpolation logic is
> unaffected.
> https://drafts.fxtf.org/filters-1/#interpolation-of-filters
> We don't want "none -> sepia(0.5)" to behave the same as "sepia(1) ->
> sepia(0.5)".

There's a big difference between what "none" is converted to for
animation purposes, and what the value should default to when omitted.
Transforms defines interpolation between "none" and transform
functions by referencing "identity transforms".  All of them have a
nice shortcut where you can just say "whatever value would produce the
null matrix", but it's easy to have Filters just define the identity
filter for each.

Received on Wednesday, 16 March 2016 22:29:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 16 March 2016 22:29:04 UTC