Bug 249249 - Don't allow text selection to start on a HTMLMediaElement
Summary: Don't allow text selection to start on a HTMLMediaElement
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-13 13:27 PST by Ahmad Saleem
Modified: 2022-12-14 14:23 PST (History)
1 user (show)

See Also:


Attachments
Selection over Media Player in Safari 16.2 (84.81 KB, image/png)
2022-12-13 13:27 PST, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>