Does a MutationOberserver callback fire within the same animation frame in which observed elements were modified? [closed]
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . Suppose I make changes to an element inside a frame created with window.requestAnimationFrame and that the modified element is being observed by a MutationObserver . Does the MutationOberserver 's change handler fire within the same frame and before the browser does rendering that comes after the frame? (I can imagine that this may not be true with some polyfills. I'm curious to know if there's any guarantee that