Closed Bug 1644511 Opened 4 years ago Closed 4 years ago

Collapsing selection does not follow visual direction, ignoring the flag

Categories

(Core :: DOM: Editor, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

Details

Attachments

(2 files)

  1. Open https://codepen.io/basharh/pen/rNOZKOL
  2. Select the text
  3. Collapse the selection by pressing keyboard left button.

Expected: Its direction should depend on bidi.edit.caret_movement_style flag. In other words, the left button should put the caret on the right side of the selection if the value is 0, otherwise on the left side. (That is, assuming you are on *nix system. Windows does not follow the flag: Bug 1644489)
Actual: It always puts the caret on the right side.

Assignee: nobody → krosylight
Status: NEW → ASSIGNED
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/358d0718b074
Part 1: Make bidi.edit.caret_movement_style a static pref r=emilio
Severity: -- → S3
Priority: -- → P2
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/66c8ca356eda
Part 2: Make selection collapsing follow bidi.edit.caret_movement_style r=jfkthame
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
Regressions: 1645879
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: