Files
ladybird/Libraries/LibWeb/Layout/LayoutState.cpp
Andreas Kling b102a68746 LibWeb: Precompute contained boxes map for measure_scrollable_overflow
Build a HashMap from each containing block to the boxes it contains
before measuring scrollable overflow. This allows
measure_scrollable_overflow() to iterate only the relevant boxes
directly, rather than walking the entire layout subtree and filtering
by containing_block() at each node.
2026-03-21 18:20:09 -05:00

38 KiB