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

Re: transitions vs. animations

From: Perry Smith <pedzsan@gmail.com>
Date: Thu, 8 Apr 2010 13:10:31 -0500
Cc: Håkon Wium Lie <howcome@opera.com>, "www-style@w3.org list" <www-style@w3.org>
Message-Id: <57F59171-46A9-4A76-834D-8AAD8085C5D6@gmail.com>
To: Tab Atkins Jr. <jackalmage@gmail.com>

On Apr 7, 2010, at 10:06 PM, Tab Atkins Jr. wrote:

> On Wed, Apr 7, 2010 at 7:46 PM, Perry Smith <pedzsan@gmail.com> wrote:
>> On Apr 7, 2010, at 8:00 PM, Tab Atkins Jr. wrote:
>>> 2b:
>>>
>>> foo:hover {
>>>  play-in: bounce 1s;
>>>  play-out: bounce 1s;
>>> }
>>
>> I thought 2b would be:
>>
>> foo {
>>  play-in: bounce 1s;
>> }
>>
>> foo:hover {
>>  play-in: bounce 1s;
>> }
>>
>> Are these two "roughly" equivalent or is there a difference?
>
> Big difference.  <snip>

Thanks!

So, pushing forward, how about sound?  Is the intention to hook into  
the animationstart event and from there, an html5 <audio> element  
could be triggered?

Perry
Received on Thursday, 8 April 2010 18:11:07 GMT

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