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

Re: [css3-transitions] starting and reversing animations

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 29 Jan 2010 11:27:07 -0600
Message-ID: <dd0fbad1001290927n14aa4099tc7a620ed6b4ad1df@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Simon Fraser <smfr@me.com>, news@terrainformatica.com, www-style <www-style@w3.org>
On Fri, Jan 29, 2010 at 11:19 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
>
> On Jan 29, 2010, at 8:05 AM, Tab Atkins Jr. wrote:
>
>> On Fri, Jan 29, 2010 at 9:55 AM, Simon Fraser <smfr@me.com> wrote:
>>> No, the transition properties are taken from the destination style.
>>
>> Wow, that's *completely* unclear, and also different from what I had
>> gathered from examples used on the mailing list.  Yeah, in that case
>> examples are *absolutely required*, since there's no mention of that
>> anywhere in the spec and it runs contrary to what I would have
>> thought.
>
> That is how I thought it worked. But if you do set it on "div", then "div:hover" will have it also, right? Since it is still a div as you hover over it, and assuming you haven't set it to something else (such as 'transition-duration:0') else in the "div:hover" rule?

Yeah, setting transition on "div" still applies to all the subsequent
rules, per normal cascading.

~TJ
Received on Friday, 29 January 2010 17:28:03 GMT

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