Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d89b9dbb3cd2c41f80d6bfb3f9e248455a952a76
      
https://github.com/WebKit/WebKit/commit/d89b9dbb3cd2c41f80d6bfb3f9e248455a952a76
  Author: Alex Christensen <[email protected]>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M Source/WebCore/page/LocalDOMWindow.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm

  Log Message:
  -----------
  window.convertRectToMainFrameCoordinates should take zoom into account
https://bugs.webkit.org/show_bug.cgi?id=325979
rdar://188932531

Reviewed by Kiet Ho.

Otherwise we get the wrong output.
Other callers to contentsToMainFrameView have already had zoom taken into 
account.

Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm

* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::convertRectToMainFrameCoordinates):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation, 
ConvertRectToMainFrameCoordinatesInCrossOriginIframeWithPageZoom)):

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



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

Reply via email to