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 https://github.com/w3c/csswg-drafts/issues/5334#issuecomment-660706589 using your GitHub accountReceived on Sunday, 19 July 2020 20:47:06 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC