Summary: | Legacy WebKit: Add SPI variant of -setSelectedDOMRange that can perform the selection as if triggered by the user | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||||
Component: | WebKit Misc. | Assignee: | Daniel Bates <dbates> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | webkit-bug-importer, wenson_hsieh | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Local Build | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Daniel Bates
2020-01-22 15:50:13 PST
This SPI will be used to select the position on the page as if the user had done it. Created attachment 388480 [details]
Patch
Comment on attachment 388480 [details]
Patch
Hold up... I didn't actually add the function I wanted. Haha
Change of plans... re-purposes this bug to just do what the patch does (though I will post a new patch to update the ChangeLog): add a new SPI variant of -setSelectedDOMRange that takes a bool as to whether the selection is user triggered. Created attachment 388482 [details]
Patch
Thanks for the review, Wenson! Comment on attachment 388482 [details] Patch Clearing flags on attachment: 388482 Committed r254952: <https://trac.webkit.org/changeset/254952> All reviewed patches have been landed. Closing bug. |