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

Theodosis Sourgkounis
Reported 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.
Attachments
reduced version of the bug. (708 bytes, text/html)
2011-09-14 15:34 PDT, Theodosis Sourgkounis
no flags
Shane Stephens
Comment 1 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.
Shane Stephens
Comment 2 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.
Bronislav Klucka
Comment 3 2011-10-17 05:12:14 PDT
Animations also do not work.
Shane Stephens
Comment 4 2011-10-19 20:36:00 PDT
*** Bug 69927 has been marked as a duplicate of this bug. ***
Emil Ivanov
Comment 5 2012-02-13 14:34:07 PST
This is duplicate of 23209
Shane Stephens
Comment 6 2012-02-13 19:11:38 PST
*** This bug has been marked as a duplicate of bug 23209 ***
Note You need to log in before you can comment on or make changes to this bug.