mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 00:22:36 +02:00
Throwaway LayoutState instances used for intrinsic sizing should not access nodes outside the laid-out subtree. Make this explicit by setting a subtree root on each throwaway state, pre-populating only the immediate containing block, and using try_get() for any ancestor lookups — treating unavailable ancestors as indefinite rather than silently populating them with incorrectly-resolved values.
81 KiB
81 KiB