Bug 68128 - transition and animation do not work on pseudoelements
Summary: transition and animation do not work on pseudoelements
Status: RESOLVED DUPLICATE of bug 23209
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
: 69927 (view as bug list)
Depends on:
Reported: 2011-09-14 15:34 PDT by Theodosis Sourgkounis
Modified: 2012-02-13 19:11 PST (History)
3 users (show)

See Also:

reduced version of the bug. (708 bytes, text/html)
2011-09-14 15:34 PDT, Theodosis Sourgkounis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Theodosis Sourgkounis 2011-09-14 15:34:23 PDT
Created attachment 107407 [details]
reduced version of the bug.

I am assigning a transition to run on the hover even to an after pseudoelement, but the transition doesn't work at all. Instead, it instantly moves to the end point.
Comment 1 Shane Stephens 2011-10-10 20:49:32 PDT
pseudoelements are special - they do not appear the DOM, DOM Events can't reference them as targets, and they don't expose a computedStyle. It's not clear that transitions *should* work on them.
Comment 2 Shane Stephens 2011-10-11 16:31:21 PDT
OK so after discussion with another CSS WG member it turns out that transitions definitely should work on ::before and ::after pseudoelements, so this is a valid bug.
Comment 3 Bronislav Klucka 2011-10-17 05:12:14 PDT
Animations also do not work.
Comment 4 Shane Stephens 2011-10-19 20:36:00 PDT
*** Bug 69927 has been marked as a duplicate of this bug. ***
Comment 5 Emil Ivanov 2012-02-13 14:34:07 PST
This is duplicate of 23209
Comment 6 Shane Stephens 2012-02-13 19:11:38 PST

*** This bug has been marked as a duplicate of bug 23209 ***