Bug 13283 - Problem deleting a selection that ends in a text node that contains collapsed whitespace
Summary: Problem deleting a selection that ends in a text node that contains collapsed...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-04 15:52 PDT by Justin Garcia
Modified: 2008-01-29 18:26 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Garcia 2007-04-04 15:52:03 PDT
Open:

<div contenteditable="true">
<div>foo</div>
bar
</div>

Create a selection that starts in the first paragraph and ends in the second.
Delete.


The position that marks the end of the selection being removed fails to get updated during the deletion, and so is invalid when used during merging.
Comment 1 Alexey Proskuryakov 2007-11-22 02:33:57 PST
I'm wondering if this was fixed in <http://trac.webkit.org/projects/webkit/changeset/27796>
Comment 2 Justin Garcia 2008-01-29 18:26:58 PST
Ya, this is fixed.