Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e740706bbede428e25a36de7e559d524931b548d
      
https://github.com/WebKit/WebKit/commit/e740706bbede428e25a36de7e559d524931b548d
  Author: Wenson Hsieh <[email protected]>
  Date:   2026-04-14 (Tue, 14 Apr 2026)

  Changed paths:
    A 
LayoutTests/fast/text-extraction/text-extraction-scroll-to-next-page-expected.txt
    A LayoutTests/fast/text-extraction/text-extraction-scroll-to-next-page.html
    M Source/WebCore/page/text-extraction/TextExtraction.cpp

  Log Message:
  -----------
  [AutoFill Debugging] Support `scroll` interaction with no scroll delta
https://bugs.webkit.org/show_bug.cgi?id=312327
rdar://174777888

Reviewed by Abrar Rahman Protyasha.

Add support for invoking the `scroll` interaction action type with no arguments 
(or only a single
node argument representating a subscrollable container). If no delta or a zero 
delta is specified,
this should scroll page by page through the container until it hits the end, at 
which point it
should scroll all the way back up to the top (or left).

Test: fast/text-extraction/text-extraction-scroll-to-next-page.html

* 
LayoutTests/fast/text-extraction/text-extraction-scroll-to-next-page-expected.txt:
 Added.
* LayoutTests/fast/text-extraction/text-extraction-scroll-to-next-page.html: 
Added.
* Source/WebCore/page/text-extraction/TextExtraction.cpp:
(WebCore::TextExtraction::scrollToNextPage):
(WebCore::TextExtraction::handleInteraction):
(WebCore::TextExtraction::interactionDescription):

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



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

Reply via email to