rendering opportunity

A point in the event loop, between tasks, when the browser may run animation callbacks, recalculate style and layout, and paint a new frame.

In more detail

It only comes when the current task and all microtasks are done, and usually at most once per display refresh. Long tasks push it back and cause dropped frames.

Related terms

Taught in

References