Skip to content
Blink and Compositor Stacking Contexts episode artwork

Sep 25, 2025 38 min

Blink and Compositor Stacking Contexts

from Blink286 Hosted by Free Debreuil

These sources provide an extensive technical explanation of how CSS stacking contexts are implemented within the Chromium rendering engine, focusing on the collaboration between the Blink renderer and the cc compositor. The process begins in Blink, where elements triggering a stacking context (via properties like opacity or z-index) are identified, leading to the creation of internal structures like PaintLayer and EffectPaintPropertyNode to manage z-ordering. Blink then produces a PaintArtifact consisting of drawing commands grouped into paint chunks, each linked to a specific set of property nodes that define the context's position, clipping, and effects. This artifact is passed to the cc compositor, which converts the Blink properties into its own PropertyTrees (especially the EffectNode), using this data to decide which stacking contexts require an isolated drawing buffer, known as a RenderSurfaceImpl, for final GPU compositing and accurate visual blending. Ultimately, Blink determines what is painted and ordered, and cc determines how to composite those results efficiently.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Blink and Compositor Stacking Contexts

0:00 38:08

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Blink286?

This episode is 38 minutes long.

When was this Blink286 episode published?

This episode was published on September 25, 2025.

Can I download this Blink286 episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.