about summary refs log tree commit diff stats
path: root/test/layout/flex-perc-width-constrains-intrinsic-min-width.expected
Commit message (Collapse)AuthorAgeFilesLines
* layout: unify BlockBox and InlineBox, refactor buildingbptato2025-02-071-1/+1
| | | | | | | | | | | | | | * normalize flow baseline computation * fix various margin collapsing bugs * eliminate inlineStack * eliminate push* * derive BlockBox and InlineBox from CSSBox This removes a pointer from BlockBox, and adds a pointer to both BlockBox and InlineBox (type field). A net loss, but it makes the code more manageable. Plus, inline groups now need one less allocation, so overall it's not that bad.
* layout: do not generate anonymous inline boxesbptato2025-01-251-1/+1
| | | | | | | | | | | | | | | | Anonymous inline boxes were blocking progress on layout caching, so they are now gone. Instead, we handle them in layoutInline (which meanwhile has spaghettified to beyond comprehension... now it's a special case of inner BlockBox (kind of?) - incredibly, it still passes tests :P) This seems to match what major browsers do as well; some test cases were updated to reflect the "improved" rendering this brings. Next I'd like to remove anonymous table boxes by generating them in cascade. Then it should be straightforward enough to at least reuse flow roots on relayout. (And clean up flow layout...)
* layout: fix a flex sizing bugbptato2024-12-271-0/+6
it has to accept percentage sizes too for intrinsic size clamping, it seems