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

Update: simpler reproduction

- [Broken using single removal](https://flems.io/#0=N4Igxg9gdgzhA2BTEAucD4EMAONEBMQAaEAMwEskZUBtUKTAW2TQDoALAF0fmPSk6IBqEAB4ArvAAE5fAF4AOiExRyjTIKUA+UfHJaADKID0enWYCMJs7v0Ama-ttaAzI53HJWvniRhO5NDUaAYoAKwA7AC0oQAsESAAvkT0TCwgrABW1CSQAkKcIsbGUgBimP4QAE4EUhDinFJwMpwA5DBSYEiYNVVSAO7sGlKISMwCHT2IUpj4+LUq+FI1jBAAbgQKUFt5MI0qahqIAEoQEI1yUvgQYOLjnKwA5oicAKJjBQBCAJ4AkvgACiUB3UmhAAEodkFGqNEIwDFJLiCjqdzqwwOxKPgAHIQeYwGgGAC6UNgMLGFkRM1UoJOZweGKxuPxNAsJKgu3JcLsVORglRDMx8BxeMQBLs7M5IzGLl5NJR9PRQpFLJc7K2xTqVXmNXwKCkhKIUgsRrsRrVGpKjHIAA8CPqpAaDKbzeqoKRxByAtApNabQDwVJgFJNdUdbUolpfbbNlBHXhOAAVNSIeqcAFhxBVI1hAwGSFxqRbR2a0rkKp7YudaFSCgVzgIy6w+FPF6fepQfDkKCPADCegKx0Q-gDrE4EGwVc1Urre0pTYprc47c9XZ7-fIg+H6fBY4nVZn5b2PIX3KXK873b7A4EQ5Hu-Hk8Lh-rstPjBc547a+vm9v29HR8tinEoAFVsHwI4nSNE0pDNKQ1SkSNoLg10qz5Ok0RWdZEF7ZUAWbCwCxAqQABlMD2KQAGopF+KANiqTgSNxQR9UQHoBz6AADTgqhUGByG9KAABFxD4oSuN9cRKIAI2mBMpDk0hqmmLBBCqEieL42BlKqRguKNaoRg2ONVhqAZEHLfAoDFDobluCspABTJpMaXjvhaakljwRASMGYYhmwbAhBgXcq2bAxWD2b4kDHbSBKE0TxMCONFELTVCKizgYsQOL+MElKko0FLEXCsY7CynK8tgAroCKoT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rxb5WAgUhSATAAJUrHi4PSSxKAAFN2tb+rpjJgAzyD2DS5iBEARYu7YISJxdk5gVP07krOlFzvylFYhXi9LjPZkBSvJrzmutc-eu08biuc9b6uC8FlHRoe3WxffP6R4B-udpe66FpjpmVqn0m9ffZe1tHp7Z9mt6teOleRbXpmD836ft8uuf9oXpnP0PsesqpO774vgKr7eosQG+qBEj0j0vX2pmKoAYgwhitDGJYiEgGxnjC8ZMzA0wAj9DmPMrF7YywPDWBGjYmZ-VZheC2KsAIPn3ItasZJawy3nEvc2HM-xc2IdjT)

Movement primitives would not help fix this one, as the former does not add nodes with existing parents.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 11 September 2020 04:41:52 UTC