W3C home > Mailing lists > Public > www-style@w3.org > August 2015

Re: [css-transitions] starting of transitions.

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 12 Aug 2015 18:15:26 -0400
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <20150812221526.GC8333@pescadero.dbaron.org>
On Wednesday 2013-02-20 20:46 -0800, Andrew Fedoniouk wrote:
> But wording there is wrong:
> 
> "This provides a way for authors to specify different values of the
> ‘transition-*’ properties
> for the “forward” and “reverse” transitions"
> 
> If you have for example these three rules:
> 
> input { transition: color linear 1s; }
> input:checked { transition: color ease 2s; }
> input:active { transition: color linear 3s; }
> 
> then there is no way for you to specify separate reverse transitions:
>   :checked -> :not(:checked) *and*
>   :active -> :not(:active)

In https://hg.csswg.org/drafts/rev/d6054651da91 I clarified that the
example only makes sense when the transitions are between two states.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Wednesday, 12 August 2015 22:15:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 12 August 2015 22:15:55 UTC