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: | CSS | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
This is by design. If you think this should behave differently, please raise the issue on the www-style mailing list.