Bug 68128

Summary: transition and animation do not work on pseudoelements
Product: WebKit Reporter: Theodosis Sourgkounis <thsourg>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: adman.com, bronislav.klucka, shanestephens
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
Attachments:
Description Flags
reduced version of the bug. none

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 ***