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

Re: document transition effect

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 15 Mar 2011 13:58:18 -0700
Message-Id: <7B220CAD-D9BF-45F4-95CE-910FA2B93BC5@gmail.com>
Cc: Yves Lafon <ylafon@w3.org>, "<www-style@w3.org>" <www-style@w3.org>
To: François REMY <fremycompany_pub@yahoo.fr>
On Mar 15, 2011, at 12:47 PM, François REMY <fremycompany_pub@yahoo.fr> wrote:

> You would need to redefine completely the semantics behind the "left" property. [...]

OK, use transforms then. Or use opacity for a dissolve. 

> , it don't mean the other (=new) document is forced to follow the current document by moving by the same amount.

No, but if it is using the same sort of CSS on its :loaded pseudo-class and it is from the same site, then we can allow the two transitions to happen in a coordinated fashion. Otherwise, it could happen more as a reveal than a push wipe. 

> It would be very complex for another reasone : it means that if you define a transition on the "left" property, the new document moves from the right of the current document; but if it's the opacity property that's animated, then the new document should be located behind the other. It's not really intuitive...

Sure it is. The second document decides how it wants to transition in, and the transition happens when the DOM for the second document is loaded (alternatively, when the whole document is loaded, images and all). 

> Visual transitions are something different from property transitions. Many transitions are not representable in term of property transitions. It is sufficient to have a look at PowerPoint to notice the difference between "object animations" and "slides transitions".

That is true when you are doing any transition, it may be that we eventually want to define some visual effect transitions to, for example, transition properties like 'visibility', to allow page curls, dissolves, zoom in/out, checkerboard reveals, barn door reveals, etc., and these may also work for page transitions.  

> -----Message d'origine----- From: Brad Kemper
> Sent: Tuesday, March 15, 2011 8:02 PM
> To: François REMY
> Cc: Yves Lafon ; <www-style@w3.org>
> Subject: Re: document transition effect
> On Mar 15, 2011, at 9:49 AM, François REMY <fremycompany_pub@yahoo.fr> wrote:
>> CSS3 Transitions have nothing (or at least, not much) to do with the kind of "visual transitions" you're requesting, apart from their name.
>> CSS3 Transitions are "property transition": the top property was equal to 0px before the transition and will move smoothly to 5px during a certain timespan instead of being immediatly set to 5px when changed: a "transition" is being applied to generate intermediate values for the property.
> In theory, we could have :loaded and :unloaded pseudo-classes to set on the root, and transition on 'opacity' for a dissolve or on 'left' for a wipe-like transition. 
Received on Tuesday, 15 March 2011 20:59:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:44 UTC