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 Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ahmad.saleem792, wenson_hsieh |
Priority: | P2 | ||
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Daniel Bates
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
Resetting 'Assigned' and changing to 'HTML Editing' to make it clearer in category to fix in future.