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

Re: transitions vs. animations

From: Lars Gunther <gunther@keryx.se>
Date: Tue, 06 Apr 2010 21:07:41 +0200
Message-ID: <4BBB867D.2000502@keryx.se>
To: www-style@w3.org
2010-04-06 20:39, Tab Atkins Jr. skrev:
> Short answer: no, it has nothing to do with events.

:focus + on-entry eq. onfocus
:focus + on-exit  eq. onblur
:hover + on-entry eq. onmouseenter
:hover + on-exit  eq. onmouseleave

This seems an awful lot like events to me. The very fact that you 
proposed a property called "on" makes the thought not that far fetched, IMO.

> An event-based
> animation model in CSS is a bad idea.

Agreed. Like Don Quijote I have been trying to suggest that animations 
belong in the DOM for a while now...


-- 
Lars Gunther
http://keryx.se/
http://twitter.com/itpastorn/
http://itpastorn.blogspot.com/
Received on Tuesday, 6 April 2010 19:08:11 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:26 GMT