Re: [csswg-drafts] [css-transforms-1] [css-transitions-1] Strange behavior with `insertBefore` vs `appendChild` and transitions (#5334)

Yeah, that's it, and it is specified:

>  If an element is no longer in the document, implementations must cancel any running transitions on it and remove transitions on it from the completed transitions. 

And also:

>  If an element is not in the document during that style change event or was not in the document during the previous style change event, then transitions are not started for that element in that style change event.

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

Received on Monday, 20 July 2020 08:12:56 UTC