Bug 290480

Summary: Change selection.getComposedRanges() from rest parameter to a dictionary
Product: WebKit Reporter: Di <dizhangg>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, megan_gardner, rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: All   
OS: All   

Di
Reported 2025-03-26 14:28:55 PDT
Per Selection API specification for getComposedRanges(), the input should be an options dictionary with shadowRoots as an optional key: https://w3c.github.io/selection-api/#dom-selection-getcomposedranges More context at: https://github.com/w3c/selection-api/pull/331
Attachments
Radar WebKit Bug Importer
Comment 1 2025-04-02 14:43:56 PDT
Ryosuke Niwa
Comment 2 2025-04-24 11:42:35 PDT
EWS
Comment 3 2025-04-24 16:15:44 PDT
Committed 294087@main (d4c4f6ec799c): <https://commits.webkit.org/294087@main> Reviewed commits have been landed. Closing PR #44477 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.