Tutte le versioni v0.1.14414 Ago 2026Rendering, JavaScript e JIT, DevTools Feed

Le note di rilascio sono scritte in inglese.

Exact tiling: percentage columns never leave a seam

Second entry in the determinism line, after the WebGL invariant: layout now guarantees, bit-for-bit, that percentage columns tile their row exactly. Divide a row into thirds, quarters, five 20-percent columns - in every mainstream browser those widths land on an internal sub-pixel grid whose sum rarely equals the container, so a hairline of background bleeds through between abutting blocks at some window widths, and flex thirds famously end a fraction of a pixel past the box. Floati now resolves the rounding so adjacent column edges are the same number to the last bit and the final column closes the row exactly, for flex rows and float columns both. The guarantee is enforced by gate invariants that assert bitwise equality across two-to-twelve columns at eight hostile window widths, plus a bit-reproducibility check that layout is a pure function of the document. The overall score holds at 57: this is an invariant the reference browser cannot match, not a coverage move, and the scorecard only moves on coverage.

Cosa è cambiato

4 modifiche
  1. JavaScript e JITFlex lines snap a rounding-scale residual on the SHRINK side as they long have on the grow side: five 20 percent columns in a 977px row each round up in 32-bit float and summed to 977.00006, a hair of overflow the shrink loop's tolerance ignored. A sub-half-pixel residual on a shrinkable line now goes to the last item, so the line fits its container exactly.
  2. DevToolsA start-packed flex line that fills its container closes bit-exactly: the last item's stored width is derived from the container's end edge and nudged by units-in-the-last-place until x plus width equals the edge as the same 32-bit float - not within a tolerance, equal. The reference browser's LayoutUnit grid cannot express this; its own DevTools shows flex thirds of 100px ending at 100.008.
  3. RenderingA float whose width lands within rounding distance of exactly filling the space beside the existing floats takes exactly that space, so percentage float columns - the classic two-up and three-up card grids - close their row without a seam or a spurious wrap.
  4. JavaScript e JITThe guarantee lives in the gate, not in prose: core-layout/tests/exact_tiling.rs sweeps 2 to 12 columns across eight float-hostile widths (primes and real window sizes) asserting shared edges and exact closure as bit equality, and asserts layout is bit-reproducible across runs. The one blessed-render change this caused was inspected pixel by pixel: two edge antialias shades on a gradient trophy, from the line now closing exactly. Companion note: docs/layout-determinism.md.
Tutto dalla v0.1.144 in un unico posto

Versioni

v0.1.0 - 0.1.9 · 10 Lug 2026418v0.1.427 · 25 Nov 2026

Novembre2026 · 1 versione

Ottobre2026 · 7 versioni

Settembre2026 · 3 versioni

Agosto2026 · 18 versioni

14614 AgoWebAssembly modules can call JavaScriptv0.1.146 · Rendering 14414 AgoExact tiling: percentage columns never leave a seamv0.1.144 · JavaScript e JIT 13514 AgoDevTools automation: the methods a real driver reaches forv0.1.135 · API web e DOM 12413 AgoPuppeteer queries elements end to end - the first floor moves the overallv0.1.124 · Rendering 12213 AgoTime-travel scrubbing: jump to any pause on the timelinev0.1.122 · DevTools 12113 AgoTime-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · Schede e interfaccia 12013 AgoDevTools: a WebSocket transport, so external tools can attachv0.1.120 · DevTools 11913 AgoDevTools: a Sources panel with a clickable line gutterv0.1.119 · Schede e interfaccia 11811 AgoDevTools debugger: step over, into and outv0.1.118 · JavaScript e JIT 1177 AgoDevTools breakpoints snap to the nearest real linev0.1.117 · DevTools 1167 AgoDevTools debugger: source-line breakpointsv0.1.116 · DevTools 1157 AgoDevTools debugger: evaluate expressions at the breakpointv0.1.115 · DevTools 1147 AgoDevTools debugger: pause on exceptionsv0.1.114 · DevTools 1137 AgoVisual DevTools: a live Console REPL and a Debugger panelv0.1.113 · Schede e interfaccia 1127 AgoDevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · DevTools 1006 AgoThe browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · DevTools 986 AgoThe engine speaks the DevTools Protocolv0.1.98 · DevTools 704 AgoOne press, and you are on the new versionv0.1.70 · Schede e interfaccia

Luglio2026 · 3 versioni