Closed
Bug 768765
Opened 14 years ago
Closed 14 years ago
"Assertion failure: selection->Collapsed() (Selection not collapsed after delete)" with multiple selections, odd history
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: jruderman, Assigned: ayg)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files)
Assertion failure: selection->Collapsed() (Selection not collapsed after delete), at editor/libeditor/base/nsEditor.cpp:4457
| Reporter | ||
Comment 1•14 years ago
|
||
| Assignee | ||
Comment 2•14 years ago
|
||
The assert is wrong: the selection might legitimately have multiple ranges that are all collapsed, in which case it won't be itself collapsed. So let's instead just assert that the anchor/focus range is collapsed. Try: https://tbpl.mozilla.org/?tree=Try&rev=99ea4154c5bf
Updated•14 years ago
|
Attachment #638299 -
Flags: review?(ehsan) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Flags: in-testsuite+
Target Milestone: --- → mozilla16
Comment 4•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•