Open Bug 312678 Opened 19 years ago Updated 2 years ago

Bidi: Caret ends up on wrong side of selection when typing LEFT/RIGHT

Categories

(Core :: DOM: Selection, defect)

defect

Tracking

()

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

()

Details

(Keywords: reproducible, rtl, testcase)

Bidi: Caret ends up on wrong side of selection when typing LEFT/RIGHT

STEPS TO REPRODUCE
1. load the URL
2. make a selction in the first textarea
3. type LEFT (bug also occurs for RIGHT)

ACTUAL RESULTS
The caret is placed at the right selection edge

EXPECTED RESULTS
The caret is placed at the left selection edge

For testing purposes, this bug can also be reproduced on other platforms by
setting the pref "layout.selection.caret_style" = 2.
Flags: blocking1.9a2?
As I wrote in bug 299417 comment 36, the current behavior (as described above) is consistent with the behavior in Safari and native apps. So we might want not to fix it unless Apple fixes the issue in OS X.

Note that determining the "correct" behavior becomes tricky when the selection starts and ends in texts of opposing direction (and perhaps even more so, in paragraphs of opposing direction).
Feel free to renominate if platform behavior changes.
Flags: blocking1.9a2? → blocking1.9-
Assignee: selection → nobody
QA Contact: selection
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Keywords: reproducible, rtl
OS: Mac OS X → All
Hardware: PowerPC → All
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.