Re: [css3-transitions] Transitions and multiple backgrounds

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 UTC