Commit 8f2cdac
committed
test(columns): pin per-column gap placement at the engine (SD-2629 4d)
Direct layoutDocument acceptance for the step-4 flip: three authored 192px
columns with per-column gaps [0, 48] in a 720px content box. Asserts the
fill places the three columns at x = 40 / 232 / 472, which only holds when
(a) widths are NOT scaled to fill (pre-flip scaled to ~240px -> col1 at 280)
and (b) each column is positioned by its own gap (uniform-gap would put col2
at 424, not 472). This is the F9 shape (equal widths, non-uniform gaps): the
case where the equal-width balancer guard passes but the old uniform stride
mis-placed the trailing column. Traced end-to-end against the resolved-
geometry path (clone -> resolveColumnLayout -> page.columns -> normalize ->
geometry -> columnX), confirming gaps survive to placement.1 parent d26f623 commit 8f2cdac
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
314 | 337 | | |
315 | 338 | | |
316 | 339 | | |
| |||
0 commit comments