mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Add a test that creates two observers watching the same target inside an overflow:hidden container: one without scroll margin and one with scrollMargin "50px". The target is partially visible (10px out of 50px). Without scroll margin, the ratio is ~0.19 (10px visible / 50px target). With scroll margin, the expanded scrollport should make the full target visible (ratio=1), but currently both report the same ratio because scroll margin is not yet applied in compute_intersection.