Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2c3d7a3c4b3c53f95dca5f2bac11337971529c36
      
https://github.com/WebKit/WebKit/commit/2c3d7a3c4b3c53f95dca5f2bac11337971529c36
  Author: Phinehas Fuachie <[email protected]>
  Date:   2025-12-05 (Fri, 05 Dec 2025)

  Changed paths:
    A 
LayoutTests/media/modern-media-controls/ios-inline-media-controls/touch/ios-inline-media-controls-timeline-scrub-stops-propagation-expected.txt
    A 
LayoutTests/media/modern-media-controls/ios-inline-media-controls/touch/ios-inline-media-controls-timeline-scrub-stops-propagation.html
    M Source/WebCore/Modules/modern-media-controls/media/media-controller.js

  Log Message:
  -----------
  Scubbing the timeline of a video on target.com registers as a swipe through 
the gallery instead
rdar://157762977
https://bugs.webkit.org/show_bug.cgi?id=303570

Reviewed by Jer Noble.

Add touchstart, touchmove, and touchend to the list of events that stop 
propagation on media
controls and ensure the method is called for all controls (not just fullscreen).

Test: 
media/modern-media-controls/ios-inline-media-controls/touch/ios-inline-media-controls-timeline-scrub-stops-propagation.html

* 
LayoutTests/media/modern-media-controls/ios-inline-media-controls/touch/ios-inline-media-controls-timeline-scrub-stops-propagation-expected.txt:
 Added.
* 
LayoutTests/media/modern-media-controls/ios-inline-media-controls/touch/ios-inline-media-controls-timeline-scrub-stops-propagation.html:
 Added.
* Source/WebCore/Modules/modern-media-controls/media/media-controller.js:
(MediaController.prototype._updateControlsIfNeeded):
(MediaController.prototype._stopPropagationOnInteractionEvents):
(MediaController.prototype._stopPropagationOnClickEvents):

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



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

Reply via email to