ladybird/Tests/LibWeb/Text/input/IntersectionObserver
Andreas Kling c871c56178 Tests: Add IntersectionObserver test for scroll margin
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.
2026-03-22 14:09:22 -05:00
..
box-without-layout-node-should-not-intersect.html LibWeb: Ignore boxes without layout node in intersection observer steps 2025-04-14 17:01:53 +02:00
explicit-root-descendant-should-intersect.html Tests: Add IntersectionObserver tests for explicit element root 2026-03-22 14:09:22 -05:00
explicit-root-non-descendant-should-not-intersect.html Tests: Add IntersectionObserver tests for explicit element root 2026-03-22 14:09:22 -05:00
img-lazy-loading-not-blocked-by-img-outside-viewport.html LibWeb: Rename internals.signalTextTestIsDone() to signalTestIsDone() 2025-03-18 20:09:46 +01:00
implicit-root-after-originating-iframe-is-removed-from-dom.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
implicit-root-clips-at-overflow-clip-container.html LibWeb: Clip against scroll containers in IntersectionObserver 2026-03-22 14:09:22 -05:00
implicit-root-clips-at-scroll-container.html LibWeb: Clip against scroll containers in IntersectionObserver 2026-03-22 14:09:22 -05:00
implicit-root-target-visible-in-scroll-container.html Tests: Add IntersectionObserver tests for scroll container clipping 2026-03-22 14:09:22 -05:00
observe-box-inside-container-with-scrollable-overflow.html LibWeb: Do not include box's own scroll offset in get_client_rects() 2024-03-22 12:13:59 +01:00
scroll-margin-expands-scrollport.html Tests: Add IntersectionObserver test for scroll margin 2026-03-22 14:09:22 -05:00
unobserve-element-without-matching-observe.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00