Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 70738317c8836ab637cfdcb4446c8d40e4c07e4a
      
https://github.com/WebKit/WebKit/commit/70738317c8836ab637cfdcb4446c8d40e4c07e4a
  Author: Tim Nguyen <[email protected]>
  Date:   2025-09-19 (Fri, 19 Sep 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/events/scrolling/scrollend-fires-to-text-input-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/dom/events/scrolling/scrollend-fires-to-text-input.html
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  Fire scroll/scrollend events on text input instead of the input inner element
https://bugs.webkit.org/show_bug.cgi?id=297138
rdar://157880733

Reviewed by Simon Fraser.

Just like we forward calls to scrollLeft/scrollTop to the input inner element, 
we should forward the events back to the input element.

The remaining timeout is due to https://bugs.webkit.org/show_bug.cgi?id=299192

Also clean up test to use cleanup functions instead of cleaning up as part of 
the following test.

* 
LayoutTests/imported/w3c/web-platform-tests/dom/events/scrolling/scrollend-fires-to-text-input-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/dom/events/scrolling/scrollend-fires-to-text-input.html:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::addPendingScrollEventTarget):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to