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

Re: [css-transitions]: Lacking satisfying specification interrupted transitions

From: Glen Huang <curvedmark@gmail.com>
Date: Tue, 17 Mar 2015 23:18:50 +0800
Cc: www-style@w3.org
Message-Id: <A3240994-FF8A-4443-89B3-9EC44CFB27CD@gmail.com>
To: Axel Dahmen <brille1@hotmail.com>
I’m not in the WG, and have no comment on the proposal, but just can’t help to marvel at the video. It's so professionally done.

You made a freaking video (and not so short) for just a proposal, and it even changes the camera angle while you talk!

I really need to think about how I should make a proposal next time (probably only a 3D game in which things float in the mid air playing my proposal would trump it). ;)

> On Mar 17, 2015, at 10:09 PM, Axel Dahmen <brille1@hotmail.com> wrote:
> 
> I've been trying to implement smooth scrolling by means of CSS3 transitions.
> 
> Doing so I noticed that the current specification lacks specifying a satisfying path on how interrupted transitions should be implemented to provide a smooth segue from transition to transition.
> 
> In the development edition of the specification a suggestion has been introduced to cope with this situation. However, the solution presented therein doesn't seem comprehensive nor satisfying.
> 
> 
> I'd like to suggest a different approach to interrupted transitions.
> 
> Given transition #1 will change property value (a) to property value (b) and the adjoining transition will change the currently transitioned value (c) to (d), my approach will apply to any kind of interrupted transitions:
> 
>  *  Reversed Transitions
>      { (d) between (c) and (a) or (d) beyond (a) }
> 
>  *  Continued Transitions
>      { (d) near or beyond (b) }
> 
>  *  Interrupted Transitions
>      { (d) near (c) }
> 
> 
> 
> A documentation to my suggestion can be found here:
> 
>     https://youtu.be/ssiQYof5YLQ
> 
> My sample JavaScript code, simulating the suggestion interrupted transition behaviour can be found here:
> 
>     http://jsfiddle.net/qLL607g8/
> 
> 
> 
> RFC,
> Axel Dahmen 
> 
> 
Received on Tuesday, 17 March 2015 15:19:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC