Revision Sheet
Scheduling
The event loop runs tasks, drains microtasks, and then gives the browser a chance to render. Async code can still block the main thread.
Rendering
DOM and CSSOM form the render tree. Layout calculates geometry, paint records visuals, and compositing assembles layers.
Interaction
Events, script loading, and workers shape responsiveness, input delay, and how much work stays on the main thread.