cc::ScrollTree
Blink2862 Marras 2025

cc::ScrollTree

The source text provides an exhaustive technical overview of the Scroll Property Tree (cc::ScrollTree) within the Chromium compositor architecture, which is critical for enabling smooth, off-main-thread scrolling. It explains that the ScrollTree captures the hierarchy and properties of scrollable elements, utilizing individual ScrollNodes to store geometric data (like content and container bounds) and behavioral flags (such as whether scrolling is handled on the main thread or if scroll snapping is active). Furthermore, the text details how the ScrollTree works in close coordination with the Transform Tree to apply scroll-induced translations and how it manages the entire scrolling lifecycle, from input event hit-testing and scroll latching to handling overscroll and synchronizing scroll offsets back to the main thread (Blink) via commit mechanisms. This system ensures that complex features like pinch-zoom, sticky positioning, and scroll-linked animations operate correctly and efficiently on the compositor thread.

Jaksot(392)

Oilpan: The Garbage Collector for Blink in Chrome

Oilpan: The Garbage Collector for Blink in Chrome

Oilpan is a specialized garbage collection system for the Blink rendering engine in Chrome, specifically designed to manage C++ objects and eliminate memory safety issues like use-after-free bugs. It ...

11 Helmi 38min

Iframe Layout Coordination and Cooperative Sizing in Blink

Iframe Layout Coordination and Cooperative Sizing in Blink

The provided text describes the technical evolution of iframe layout coordination within Google's Blink rendering engine. Traditionally, browsers treat iframes as isolated boxes with a default size of...

9 Helmi 37min

Chrome Scheduler: Frame Orchestrator

Chrome Scheduler: Frame Orchestrator

9 Helmi 35min

Blink Rendering Engine: Frame, Document, and View Lifecycle

Blink Rendering Engine: Frame, Document, and View Lifecycle

In the Blink rendering engine, LocalFrame, LocalFrameView, and Document form a specialized triad that manages the structure and display of web content. The LocalFrame acts as the primary controller fo...

8 Helmi 34min

Pixel Snapping in Blink's Paint Property Trees

Pixel Snapping in Blink's Paint Property Trees

Blink’s rendering engine utilizes paint property trees and snap offsets to balance high-precision layout with visual clarity. While the layout engine calculates positions using fractional units for ac...

8 Helmi 31min

Chromium Blink: Scroll-Triggered Animations on the Compositor Thread

Chromium Blink: Scroll-Triggered Animations on the Compositor Thread

This document explores the technical implementation of scroll-triggered animations within Chromium's Blink engine and compositor. Unlike traditional scroll-driven effects that track movement continuou...

6 Helmi 31min

Blink and Chromium: The JavaScript Execution Pipeline

Blink and Chromium: The JavaScript Execution Pipeline

This documentation provides a technical deep dive into Blink’s JavaScript execution pipeline, explaining how Chromium orchestrates the transition from HTML parsing to code evaluation. It details the r...

6 Helmi 31min

Evolution of CSS clip-path in Web Standards and Blink

Evolution of CSS clip-path in Web Standards and Blink

The provided text outlines the evolution and technical implementation of the CSS clip-path property, which allows developers to create non-rectangular regions for web content. It details how the stand...

6 Helmi 36min