Blink's LayoutNG: Fragment Tree Generation Deep Dive
Blink2865 Sep 2025

Blink's LayoutNG: Fragment Tree Generation Deep Dive

This lecture outline provides an in-depth overview of LayoutNG's fragment tree generation within Blink, Google Chrome's rendering engine. It highlights the transition from the legacy layout system, which struggled with content fragmentation, to LayoutNG's modern approach that produces an immutable fragment tree as a direct output of the layout process. The document details the concepts and relationships of fragments to the Document Object Model (DOM) and legacy LayoutObjects, explaining how fragments accurately represent split or repeated elements across lines, columns, or pages. Furthermore, it describes the construction process of the fragment tree, including the roles of various C++ classes like NGLayoutInputNode, NGFragmentBuilder, and NGPhysicalFragment, and illustrates how different CSS layout models (block, inline, flex, grid, multicolumn, and pagination) leverage this unified fragmentation model. Finally, the outline explains the integration of the fragment tree into the rendering pipeline, emphasizing its role in simplifying painting, hit-testing, and improving performance and correctness over the previous system.


Episoder(459)

Architecting Composited Color Interpolation in Blink Chromium

Architecting Composited Color Interpolation in Blink Chromium

These sources detail the technical challenges and architectural strategies for implementing hardware-accelerated color animations within the Chromium rendering engine. High-performance rendering requi...

25 Mar 52min

Architecture and Implementation of Chromium Fenced Frames

Architecture and Implementation of Chromium Fenced Frames

These sources describe the architectural and technical implementation of fenced frames within the Chromium and Blink engines. Unlike standard iframes, fenced frames function as privacy-isolated embedd...

24 Mar 52min

Deep Dive into currentcolor in CSS and Blink

Deep Dive into currentcolor in CSS and Blink

These sources provide a comprehensive technical analysis of the currentcolor keyword in CSS and its specific implementation within the Blink rendering engine. Rather than acting as a simple static ali...

23 Mar 40min

Late-Bound Paint: The Evolution of Chromium Composited Color

Late-Bound Paint: The Evolution of Chromium Composited Color

The provided text outlines a strategic architectural proposal for Chromium to transition from a property-specific "composited color" model to a generalized late-bound paint-parameter substrate. Curren...

22 Mar 46min

The Musk Operating System: Strategic Thinking and Iterative Models

The Musk Operating System: Strategic Thinking and Iterative Models

These sources outline a comprehensive framework for strategic thinking by analyzing the operational methods of companies like SpaceX, Tesla, and Neuralink. The text identifies a recurring "operating s...

22 Mar 44min

Late-Bound Color Slots for Composited Raster-Inducing Paint

Late-Bound Color Slots for Composited Raster-Inducing Paint

This text proposes a sophisticated architectural shift in Chromium’s rendering engine to enable more efficient color animations by adopting a model similar to Raster-Inducing Scroll (RIS). Instead of ...

21 Mar 54min

Chromium Blink Paint Worklet Architecture and Implementation Analysis

Chromium Blink Paint Worklet Architecture and Implementation Analysis

These sources detail the architectural implementation of CSS Paint Worklets within the Blink and Chromium rendering engines. The system operates as a multi-layered pipeline that transforms JavaScript ...

21 Mar 51min

[DBL] Raster-Inducing Scroll and Paint-Command Generation in Chromium

[DBL] Raster-Inducing Scroll and Paint-Command Generation in Chromium

These sources describe the architecture of raster-inducing scroll (RIS) within the Blink and Chromium rendering pipelines. This specialized "middle mode" allows the compositor to handle scrolling asyn...

21 Mar 37min

Populært innen Teknologi

lydartikler-fra-aftenposten
romkapsel
teknisk-sett
nasjonal-sikkerhetsmyndighet-nsm
rss-ki-praten
smart-forklart
energi-og-klima
rss-impressions-2
elektropodden
tomprat-med-gunnar-tjomlid
fornybaren
shifter
rss-alt-vi-kan
i-loopen
rss-fjorsilkebris-podcast
rss-alt-som-gar-pa-strom
rss-heis
rss-ai-forklart
rss-polypod
rss-anleggspraten