W3C home > Mailing lists > Public > www-style@w3.org > February 2013

Re: AnimationEvents for pseudo-elements

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 01 Feb 2013 13:29:03 -0500
Message-ID: <510C096F.30503@mit.edu>
To: Alexis Menard <alexis@webkit.org>
CC: www-style@w3.org
On 2/1/13 1:21 PM, Boris Zbarsky wrote:
> Yes, so?  People are in fact doing those already, last I checked,
> because as I said they've been working in Gecko for years.

And to be more precise:

1)  Gecko has supported transitions on pseudo-elements since Firefox 4 
(March 2011) and animations on pseudo-elements since Firefox 5 (June 2011).

2)  I have seen pages that do a -webkit-transition on an element but do 
the corresponding unprefixed transition and -moz-transition on the 
pseudo-element on the assumption that unprefixed implementations support 
the pseudo-element bit and given the data point that Gecko does support 
it.  These pages are not expecting an event on the pseudo-element and 
would be likely to behave incorrectly if they do get an event for that 
transition.

I believe we should use a different event name for the pseudo-element 
transitions so that web pages don't get unexpected events suddenly 
popping up.

-Boris
Received on Friday, 1 February 2013 18:29:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT