More niche box sizing tests #1712

Closed
joevilches wants to merge 4 commits from export-D63423302 into main

4 Commits

Author SHA1 Message Date
Joe Vilches
59c52928a1 More niche box sizing tests
Summary:
tsia, add some more advanced tests checking

* percent widths/heights/padding/border
* absolute positioned nodes with content box
* containing block with content box + static
* flex basis (fails now, needs follow up)
* relative padding/border values

All pass but flex basis

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D63423302
2024-09-30 15:20:06 -07:00
Joe Vilches
fc590b2e6f Initial impl of content box
Differential Revision: D63416833
2024-09-30 14:09:06 -07:00
Joe Vilches
b7cfdf7162 Clean up calls to dimension() with a hardcoded FlexDirection
Differential Revision: D63408245
2024-09-30 13:28:10 -07:00
Joe Vilches
31b5e63adf Rename Node.h's getResolvedDimension to getDimensionLength
Differential Revision: D63407730
2024-09-30 13:28:09 -07:00