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

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?)

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂

Received on Friday, 20 January 2012 07:17:08 UTC