所有版本 v0.1.14414 八月 2026渲染, JavaScript 与 JIT, 开发者工具 订阅

版本说明以英文撰写。

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.

改动内容

4 项改动
  1. JavaScript 与 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. 开发者工具A 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. 渲染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 与 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.
v0.1.144 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026

十一月2026 · 1 个版本

十月2026 · 7 个版本

九月2026 · 3 个版本

八月2026 · 18 个版本

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

七月2026 · 3 个版本