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

See #3309. When you use `appendChild` or `insertBefore`, the node is temporarily taken out of the tree, and thus the transition is cancelled. Thus in you 1st code you are cancelling the transitions for all the elements, while in the 2nd one only for `elem1` and `elem2`. `elem0` and `elem3` are choppy, I guess that's the reason, but I'm not an expert.

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at using your GitHub account

Received on Sunday, 19 July 2020 20:47:06 UTC