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   

Description Daniel Bates 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.
Comment 1 Ahmad Saleem 2023-09-20 09:03:45 PDT
Resetting 'Assigned' and changing to 'HTML Editing' to make it clearer in category to fix in future.