Re: [csswg-drafts] [css-transitions] why doesn't transitionend event fire in some cases?

I see. So `elem.getAnimations()` may be what I'm looking for to detect when an element has no animations. I am reading the spec on the `getAnimations()` but can't find anywhere that describes what should happen when an `elem` has no animations to get. Would I be able to do something like `getAnimations().length === 0`? which would mean no animations are present? and I can resolve promise immediately in my library?

-- 
GitHub Notification of comment by mkay581
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3043#issuecomment-415256592 using your GitHub account

Received on Thursday, 23 August 2018 02:01:18 UTC