Bug 248901

Summary: Add SelectionMode enum for setRangeText() in HTMLInputElement and HTMLTextAreaElement
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: akeerthi, karlcow, rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
URL: https://jsfiddle.net/fuj60bma/show

Ahmad Saleem
Reported 2022-12-07 13:16:25 PST
Hi Team, While going through Blink's commit, I came across another potential merge: Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=199316 Just wanted to raise this bug so this can be tracked. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 2 2022-12-14 13:17:22 PST
Ahmad Saleem
Comment 3 2023-08-30 14:59:38 PDT
I took a test from our tree, which Blink modified via patch and changed in JSFiddle and we pass all tests (have old behavior) while Chrome Canary 118 and Firefox Nightly 118 both fail subset of tests on same error, so we have odd behavior compared to other browsers, so I think we should merge this and align our behavior with other browsers. Adding 'BrowserCompat' tag as well.
Ahmad Saleem
Comment 4 2025-12-14 00:06:20 PST
After updating to latest `common-setrangetext.js` from Blink, we do fail tests: > fast/forms/search/search-setrangetext.html > fast/forms/setrangetext.html > fast/forms/textarea/textarea-setrangetext.html
Note You need to log in before you can comment on or make changes to this bug.