W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: [css3-transitions] Transitions and multiple backgrounds

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 4 Feb 2013 10:11:58 -0700
To: Simon Fraser <smfr@me.com>
Cc: Dean Jackson <dino@apple.com>, Sylvain Galineau <sylvaing@microsoft.com>, "www-style@w3.org" <www-style@w3.org>, Brian Manthos <brianman@microsoft.com>, Kevin Babbitt <kbabbitt@microsoft.com>
Message-ID: <20130204171158.GA31798@crum.dbaron.org>
On Monday 2013-02-04 10:06 -0700, Simon Fraser wrote:
> On Feb 4, 2013, at 9:47 AM, L. David Baron <dbaron@dbaron.org> wrote:
> 
> > So I think we should require matched lengths for the properties
> > whose lengths matter:  in other words, we should still require
> > matched lengths for background-image.  I have no idea what it would
> > mean to do otherwise.
> 
> One option would be to cross-fade() from some kind of transparent image.

I wouldn't want to do that without defining cross-fade() between
images... I think that's something for css4-images.

> For shadow transitions (box-shadow, text-shadow), WebKit does
> allow transitions between lists of different lengths, synthesizing
> the missing shadows (using shadows with zero radius and spread,
> matching "inset" with the corresponding shadow, and choosing a sensible
> color (possibly "transparent").

This is already specified in the spec; "shadow" is its own transition
type that's not "list" or "repeatable list".

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Monday, 4 February 2013 17:12:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT