Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4df1fcf3175fc4a11b05c68fc7e4a118589c48e5
      
https://github.com/WebKit/WebKit/commit/4df1fcf3175fc4a11b05c68fc7e4a118589c48e5
  Author: Zak Ridouh <[email protected]>
  Date:   2026-03-11 (Wed, 11 Mar 2026)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  [Site Isolation] Datalist picker is offset from input element on macOS
https://bugs.webkit.org/show_bug.cgi?id=308669
rdar://171191244

Reviewed by Aditya Keerthi.

On macOS, when an iframe opens a datalist picker,
the element is shown in the top left of the page instead
of attached to the input element.

Use convertRectToMainFrameCoordinates to transform the element rect from
subframe coordinates to main frame coordinates before showing the datalist      
                      suggestions dropdown. This fixes datalist positioning in 
cross-origin iframes,
matching the existing pattern used by the color picker and popup menu.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::showDataListSuggestions):

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



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

Reply via email to