Created attachment 8756260 [details] A sample Changing target element while animating does not affect the name of animating element on devtools. I am not sure this is a bug of devtools side, though.
Setting NI? to take a look at this. Inspector bug triage (filter on CLIMBING SHOES).
Thanks for the test case, it's pretty easy to reproduce with it. Sometimes of reloading the page takes time, you'll see only the second target being displayed in the tool. But when it's fast, you'll see the animation run on the first target only, and not being updated. It looks like we are getting the right mutation events on the backend, so it's probably just a matter of a bug in the way we filter the mutations events to be sent to our tool's front-end. Pretty sure this is on devtools's side.