Tất cả phiên bản v0.1.14414 Tháng 8 2026Hiển thị, JavaScript và JIT, DevTools Feed

Ghi chú phát hành được viết bằng tiếng Anh.

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.

Những gì đã thay đổi

4 thay đổi
  1. JavaScript và 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. Hiển thịA 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 và 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.
Mọi thứ kể từ v0.1.144 ở một nơi

Phiên bản

v0.1.0 - 0.1.9 · 10 Tháng 7 2026418v0.1.427 · 25 Tháng 11 2026

Tháng 112026 · 1 phiên bản

Tháng 102026 · 7 phiên bản

Tháng 92026 · 3 phiên bản

Tháng 82026 · 18 phiên bản

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

Tháng 72026 · 3 phiên bản