Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f00e50519b92213b6f47760c0bd6c7eab2a6402c
      
https://github.com/WebKit/WebKit/commit/f00e50519b92213b6f47760c0bd6c7eab2a6402c
  Author: Wenson Hsieh <[email protected]>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-click-offscreen-element-expected.txt
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-click-offscreen-element.html
    M Source/WebCore/page/text-extraction/TextExtraction.cpp

  Log Message:
  -----------
  [AutoFill Debugging] Automatically scroll to reveal targeted elements when 
clicking
https://bugs.webkit.org/show_bug.cgi?id=315845
rdar://178246340

Reviewed by Aditya Keerthi.

Automatically scroll to reveal offscreen elements when performing a click based 
on `uid` or search
text.

* 
LayoutTests/fast/text-extraction/debug-text-extraction-click-offscreen-element-expected.txt:
* 
LayoutTests/fast/text-extraction/debug-text-extraction-click-offscreen-element.html:

Rebaseline a test, to verify that we've scrolled after clicking.

* Source/WebCore/page/text-extraction/TextExtraction.cpp:
(WebCore::TextExtraction::resolveMouseTarget):
(WebCore::TextExtraction::dispatchSimulatedClick):

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



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

Reply via email to