Thing 2.0 cut 5a: layout (Taffy, device pixels, a Measure seam for text) #15
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/thing2-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Layout runs the one solver, Taffy 0.16, over the resolved, bound tree (
thing:ruling:thing2-one-solver-taffy), in device pixels with rounding at one adapter (thing2:ruling:layout-in-device-px; Percent is percent points perthing2:ruling:percent-is-percent-points). A style slot Taffy cannot take, or a length past 2^21 device px, takes its initial value with one StyleValueInvalid (thing2:ruling:layout-invalid-style-initial); an out-of-range measure or aspect ratio leaves the node unconstrained with a diagnostic; a non-finite scale or viewport is refused. After Taffy, any coordinate past 2^21 device px (where f32 keeps 1/8 px) refuses the layout with LayoutOutOfRange and the caller keeps its last good layout. Text plugs in later through the Taffy-freeMeasuretrait; images measure through it (thing2:ruling:image-extent-bound-site). The stack is sized from the measured depth, so 1,023-level chains of every display kind run on a default thread. Deterministic across runs and profiles; goldens for every fixture but f05/f06 (5b), at several scales.Spec
thing2:cut_spec:cut-layout.r1; reports h1-h5; Soul s1-s5 (s5 holds). 221 tests. Known limit filed:thing2:follow_up:layout-basis-sum-precheck.🤖 Generated with Claude Code