4 ms·
just to add spice: there is also the CSS loop (with events like hovering and animations and stuff...) that is interesting to handle
by _ZeD_ 11y ago
just to add spice: there is also the CSS loop (with events like hovering and animations and stuff...) that is interesting to handle
- bzbarsky 11y agoHovering is handled via the HTML/DOM event loop, since it needs to be coordinated with mouseover events. Animations, though, do need to be worked into this somehow. And they need to be able to run on a completely independent event loop to some extent so you can do animations on the compositor thread, not the DOM thread.