[Webkit-unassigned] [Bug 51945] transitionend doesn't fire if parent element gets display: none before transition completes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 18 23:39:08 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=51945

--- Comment #5 from Chris Rebert <webkit at chrisrebert.com> ---
Actually, it's Firefox that's buggy in this case:
https://bugzilla.mozilla.org/show_bug.cgi?id=1182856

The CSSWG decided that transitionend/animationend events shouldn't be fired in such cases:
https://lists.w3.org/Archives/Public/www-style/2015Apr/0405.html
(See "AnimationEnd events and display: none" sections)

(See also https://bugs.chromium.org/p/chromium/issues/detail?id=437860 )

(In reply to comment #3)
> Additional event, like 'transitioninterrupt' would be much better in this
> case.

CSS Transitions Level 2 is adding a 'transitioncancel' event for that:
https://drafts.csswg.org/css-transitions-2/#eventdef-transitionevent-transitioncancel

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160219/51dbee11/attachment.html>


More information about the webkit-unassigned mailing list