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

Re: [css3-animations] Effect of display:none and visibility:hidden on animations

From: Dean Jackson <dino@apple.com>
Date: Tue, 02 Aug 2011 22:48:11 -0700
Cc: Alan Gresley <alan@css-class.com>, Rik Cabanier <cabanier@gmail.com>, Jonathan Snook <jonathan@snook.ca>, "www-style@w3.org" <www-style@w3.org>
Message-id: <F4462A4F-26FB-428E-B776-046BBF381242@apple.com>
To: Brad Kemper <brad.kemper@gmail.com>

On 02/08/2011, at 8:58 PM, Brad Kemper wrote:

> On Aug 2, 2011, at 5:25 PM, Dean Jackson <dino@apple.com> wrote:
>> The spec could say that percentages < 100 for non-continuous properties are the starting state. So in the example above, the animation would be 'block' for four seconds up to the last frame where it would immediately change to 'none'.
> I thought we had agreed to that sort of thing at the f2f in Mountain View Mozilla last year.


>> There is another alternative which may be too hard to specify, which is that UAs might crossfade the rendering of the begin and end states.
> That would be great; throw in some wipes and other effects too. That can always be added in to a later version of the spec. 
>> The problem is when you want other things to animate at the same time.
> Why is that a problem? I imagine something like a checkerboard wipe would scale and move with the bounding box of the element.

It's only a problem if you're animating multiple properties on the same element, one of which can only be done via a cross-fade. In that case you probably drop back to cross-fade on everything. Not a big deal.

Received on Wednesday, 3 August 2011 05:48:47 UTC

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