W3C home > Mailing lists > Public > www-style@w3.org > April 2009

Re: PF-Wg feedback on CSS animations

From: Jonathan Snook <jonathan.snook@gmail.com>
Date: Sat, 25 Apr 2009 23:29:03 -0400
Cc: www-style@w3.org
Message-Id: <4C4B8CC0-69EA-42EE-8BCF-ABAA5C04D202@gmail.com>
To: Dean Jackson <dino@apple.com>
On 24-Apr-09, at 4:03 PM, Dean Jackson wrote:
> We didn't see as much need for a transitionStart event. Can you  
> think of places where you need it because the functionality isn't  
> available elsewhere? For example, if you are changing property  
> values via JS you're already in a better place to set up the  
> transition.

While I don't have a particular use case at the moment, I could see  
where you might have transitions defined on generic elements and  
transitions being initiated via :hover. To determine transitionStart,  
it'd be more cumbersome to have to do DOM traversal and trap mouseover  
event handlers.

For example, maybe I have a sidebar with links that have a transition  
on them using something like:

#sidebar a { /* define transition */ }
#sidebar a:hover {  }

Traversing the DOM, or even setting up event delegation at the top  
level is cumbersome when a simple transitionStart would do the trick.

-js
Received on Sunday, 26 April 2009 03:29:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:46:58 GMT