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

Re: [css3-transitions] starting and reversing animations

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 29 Jan 2010 10:57:16 -0800
Cc: Simon Fraser <smfr@me.com>, news@terrainformatica.com, www-style <www-style@w3.org>
Message-Id: <0CB46E4F-7670-48EA-BBC0-0C17BE7C2FC1@gmail.com>
To: Tab Atkins Jr. <jackalmage@gmail.com>

On Jan 29, 2010, at 9:27 AM, Tab Atkins Jr. wrote:

> 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.

Exactly. So what is unclear? When the state changes and a new rule with its 'transition' property suddenly applies, then that transition begins (or at least its transition-delay begins).

Received on Friday, 29 January 2010 18:57:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:31 UTC