Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: a5e1848911e56eb65fb40178b76c1cab008d4bdf
      
https://github.com/WebKit/WebKit/commit/a5e1848911e56eb65fb40178b76c1cab008d4bdf
  Author: Kiet Ho <[email protected]>
  Date:   2026-01-29 (Thu, 29 Jan 2026)

  Changed paths:
    A LayoutTests/intersection-observer/zoomed-visual-viewport-expected.txt
    A LayoutTests/intersection-observer/zoomed-visual-viewport.html
    M Source/WebCore/page/IntersectionObserver.cpp

  Log Message:
  -----------
  Cherry-pick 306392@main (cb868f1b5b52). 
https://bugs.webkit.org/show_bug.cgi?id=306372

    REGRESSION (303055@main): Intersection Observer fails with zoomed visual 
viewport
    rdar://168143635
    https://bugs.webkit.org/show_bug.cgi?id=306372

    Reviewed by Simon Fraser.

    303055@main removed some calls to RenderView::localToAbsoluteQuad, because 
those
    requires access to the root's RenderView, which is inaccessible with Site 
Isolation
    enabled. However, this breaks Intersection Observer with pinch-to-zoom. 
Pinch-to-zoom
    applies a scaling transform on the RenderView, and localToAbsoluteQuad 
accounts for
    the transform. This patch temporarily reverts 303055@main while we figure 
out a
    better solution.

    Test: intersection-observer/zoomed-visual-viewport.html

    * LayoutTests/intersection-observer/zoomed-visual-viewport-expected.txt: 
Added.
    * LayoutTests/intersection-observer/zoomed-visual-viewport.html: Added.
    * Source/WebCore/page/IntersectionObserver.cpp:
    (WebCore::IntersectionObserver::computeIntersectionState const):

    Canonical link: https://commits.webkit.org/306392@main

Canonical link: https://commits.webkit.org/305877.30@webkitglib/2.52



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to