mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
The throwaway BFC for min-height measurement may encounter abspos elements whose CSS containing block is an ancestor above the subtree root. Populate the entire containing block chain (not just the immediate parent) so that ensure_used_values_for() finds pre-existing entries instead of hitting the subtree root VERIFY. Stop walking when the source state lacks an entry, which handles the nested throwaway state case (e.g. min-height inside intrinsic sizing).