Bug 208744

Summary: Editor::replaceSelectionWithFragment() deletes the first character at a word boundary for a caret selection
Product: WebKit Reporter: Daniel Bates <dbates>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, wenson_hsieh
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Daniel Bates
Reported 2020-03-06 16:05:51 PST
While working on bug #208661, I noticed that Editor::replaceSelectionWithFragment() deletes the first character at a word boundary when there is a caret selection. The expected result is that it should just insert the fragment and not perform any deletion.
Attachments
Ahmad Saleem
Comment 1 2023-09-20 09:03:45 PDT
Resetting 'Assigned' and changing to 'HTML Editing' to make it clearer in category to fix in future.
Note You need to log in before you can comment on or make changes to this bug.