Skip to content
FragmentPaintPropertyTreeBuilder::UpdateScrollAndScrollTranslation() episode artwork

Oct 18, 2025 32 min

FragmentPaintPropertyTreeBuilder::UpdateScrollAndScrollTranslation()

from Blink286 Hosted by Free Debreuil

The provided sources offer an extensive, line-by-line analysis of Blink’s rendering function, FragmentPaintPropertyTreeBuilder::UpdateScrollAndScrollTranslation(), which is critical for implementing scrolling behavior in Chrome. This function manages the creation and updating of two primary data structures: the Scroll Property Node (which defines the logical scroll container, including its viewport, content size, and CSS properties like overscroll behavior and scroll snapping) and the Scroll Translation Transform Node (which applies the negative scroll offset as a geometric translation to descendant content). The process is part of RenderingNG, which uses separate property trees (Transform, Clip, Effect, Scroll) to achieve efficient, incremental updates. The method ensures that only scrollable objects receive these nodes, updates related scrollbar Effect Nodes, and implements optimizations like directly updating the compositor's transform for simple scroll offset changes without rebuilding the entire paint artifact.

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

FragmentPaintPropertyTreeBuilder::UpdateScrollAndScrollTranslation()

0:00 32:10

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Blink286?

This episode is 32 minutes long.

When was this Blink286 episode published?

This episode was published on October 18, 2025.

Can I download this Blink286 episode?

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