Open Bug 321785 Opened 20 years ago Updated 5 years ago

right edge of selection jumps while user shifts left edge.

Categories

(Core :: DOM: Selection, defect, P5)

x86
Windows XP
defect

Tracking

()

People

(Reporter: timeless, Unassigned)

References

()

Details

steps: 1. load url 2. click to the right of the first character in the last word of the last line of the stuff that isn't English. 3. Slowly drag your cursor to the left over the last line, jiggle it back and forth. Expected results: the right edge of the selection should be fixed. Actual results: it seems to move around. It seems to be able to jump 1-3 chars to the right of the proper edge.
The source of the problem here is the fact that some vowels in Indic languages, e.g. the second letter of the word before last in the testcase, are displayed before the consonant, although they appear after it in the stored text. What is happening is that when the selection point goes to the left of the consonant after such a vowel, the vowel is part of the selection, so the width of the selection is calculated including it. Other applications that I tested (Windows Notepad, Open Office Writer and kedit) don't allow the consonant and vowel to be selected independently. If this is the behaviour that users expect, then this becomes a dupe of bug 283416
Assignee: selection → nobody
QA Contact: selection

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.