Bug 208744 - Editor::replaceSelectionWithFragment() deletes the first character at a word boundary for a caret selection
Summary: Editor::replaceSelectionWithFragment() deletes the first character at a word ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-06 16:05 PST by Daniel Bates
Modified: 2023-09-20 09:03 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.