mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
Instead of baking the current scroll offset into the background positioning area at record time, use the `ScrollCompensation` visual context node to negate ancestor scroll frames dynamically at replay time. This keeps the background fixed relative to the viewport even when the display list is cached and replayed at different scroll positions, and works correctly with arbitrarily nested scroll containers.
7.2 KiB
7.2 KiB