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

Re: [css3-animations] :animating or :transitioning pseudo-class

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 19 Jan 2012 23:16:23 -0800
To: www-style@w3.org
Message-ID: <20120120071623.GA25813@pickering.dbaron.org>
On Saturday 2012-01-14 22:26 -0500, Jonathan Snook wrote:
> I'd love to see an :animating and/or :transitioning pseudo-class.
> It would help in defining things like display:block during
> transitions but could also be used to define how other elements
> behave while an element is transitioning. 

This seems like a pretty scary mechanism, in that it makes selector
matching depend on the result of property application.  We have some
edge cases that do things like that today (e.g., things that change
layout on :hover), but this seems like a bigger one in many ways --
a big enough one that we'd need to define exactly how such cases are
resolved (which we don't for :hover).

I'd like to see an attempt to address the use cases in other ways
before adding something like this.  (How far would being able to
transition any property, and being able to use at least step-start
and step-end timing functions, get you?)


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Friday, 20 January 2012 07:17:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:10 UTC