blink::NGPhysicalFragment and friends
Blink28610 Okt 2025

blink::NGPhysicalFragment and friends

Layout takes the styled DOM and produces a fragment tree of positioned boxes. In modern Blink this is LayoutNG; the core artifact is NGPhysicalFragment, which stores geometry and is used downstream for pre‑paint (e.g., to compute clips, overflow, and hit regions). (Chromium Git Repositories)

Representative APIs
Geometry/ink overflow helpers and accessors on NGPhysicalFragment expose the post‑layout shape of the page that pre‑paint/paint will consume. (See header for geometry utilities.) (Chromium Git Repositories)

Hands off to: PrePaintTreeWalk (to build/refresh property trees and invalidations over the laid‑out fragments).

Avsnitt(392)

Populärt inom Teknik

uppgang-och-fall
market-makers
elbilsveckan
natets-morka-sida
rss-elektrikerpodden
gubbar-som-tjotar-om-bilar
skogsforum-podcast
rss-laddstationen-med-elbilen-i-sverige
bilar-med-sladd
rss-technokratin
rss-uppgang-och-fall
bli-saker-podden
rss-it-sakerhetspodden
developers-mer-an-bara-kod
bosse-bildoktorn-och-hasse-p
rss-sakerhetspodcasten
rss-kack-tech-podcast
rss-en-ai-till-kaffet
rss-sogeti-sweden-podcasts
rss-milpodden