we (web engine): Experimental web browser project to understand the limits of Claude

Fix gap direction for column flex containers master

Per CSS Box Alignment §8, row-gap applies between rows and column-gap between columns. In a column flex container the main axis is vertical, so the gap between items should use row-gap (not column-gap) and the gap between flex lines should use column-gap (not row-gap). Introduces main_gap/cross_gap variables that swap based on flex direction. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>


+19 -12
1 changed file