Bug 249249

Summary: Don't allow text selection to start on a HTMLMediaElement
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Selection over Media Player in Safari 16.2 none

Description Ahmad Saleem 2022-12-13 13:27:01 PST
Created attachment 464027 [details]
Selection over Media Player in Safari 16.2

Hi Team,

This is patch to align with other browsers behavior:

Test: https://jsfiddle.net/xfmn7zd5/

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/4a487d3095056b8036b268dfae3b3e032bd3fc95

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/83a027d4ed50d39a8b2148d81fefd8bf6554c6c7/Source/WebCore/html/HTMLMediaElement.h#L681

Just wanted to raise this bug so this can be fixed.

Thanks!
Comment 1 EWS 2022-12-14 14:22:20 PST
Committed 257876@main (45eab14f5925): <https://commits.webkit.org/257876@main>

Reviewed commits have been landed. Closing PR #7568 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2022-12-14 14:23:20 PST
<rdar://problem/103372694>