Closed Bug 953757 Opened 11 years ago Closed 3 years ago

overlapping selection ranges can mess-up the selection serialization

Categories

(Instantbird Graveyard :: Conversation, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: florian, Unassigned)

Details

*** Original post on bio 314 at 2010-01-20 17:27:00 UTC *** https://bugzilla.mozilla.org/show_bug.cgi?id=348681 was supposed to prevent overlapping selection ranges, but it is probably incomplete as using the Command key while selection, it's still possible to create overlapping selection ranges. Doing so confuses our selection serialization code, and the resulting serialized text will be a bit messed-up (in this case I would agree with someone saying it's the user's fault!). * We should probably try to create a testcase of this, and report the underlying bug to Mozilla. * If we want, we can workaround this by adding JS code at the beginning of the selection serialization process to detect overlapping ranges and merge them. As long as the number of ranges stay limited, this overhead should not affect visibly the performances. It's not sure this bug is worth working around it.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.