mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-17 15:25:35 +00:00
Keep the visual viewport transform out of Element client rects and IntersectionObserver geometry. Pinch zoom should change the visual viewport, but not the layout viewport coordinates exposed through DOM geometry APIs. Thread an opt-out through rectangle mapping so paint and hit testing still use the full visual transform while web-observable geometry can stay in layout viewport coordinates. This matches the Blink and WebKit page scale model and keeps responsive script from treating pinch zoom like a relayout. Add coverage for getBoundingClientRect() under pinch zoom and visual viewport IntersectionObserver geometry. |
||
|---|---|---|
| .. | ||
| IntersectionObserver.cpp | ||
| IntersectionObserver.h | ||
| IntersectionObserver.idl | ||
| IntersectionObserverEntry.cpp | ||
| IntersectionObserverEntry.h | ||
| IntersectionObserverEntry.idl | ||