Bug 75304

Summary: WebKit transition event doesn't fire if CSS property did not change during the transition
Product: WebKit Reporter: Andrey Okonetchnikov <andrej.okonetschnikow>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: dieter, dino, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jsfiddle.net/NpdcJ/

Andrey Okonetchnikov
Reported 2011-12-28 03:48:30 PST
If during a CSS transition all CSS properties applied to an element remain unchanged the transitionEnd event will never be fired. Expected: the transitionEnd event should fire even if CSS properties remain unchanged. Please find here a test case: http://jsfiddle.net/NpdcJ/ It might specially occur if CSS properties are set programmatically and not through CSS classes. As a workaround one can set translate property with sub-zero properties (0.01px) to invoke a transition. Here is an example with a workaround: http://jsfiddle.net/GX7jz/
Attachments
Simon Fraser (smfr)
Comment 1 2012-01-02 10:30:32 PST
This is by design. If you think this should behave differently, please raise the issue on the www-style mailing list.
Note You need to log in before you can comment on or make changes to this bug.