Closed
Bug 1950579
Opened 8 days ago
Closed
Keyboard navigation in a multi-select with vertical-rl or sideways-rl writing mode is reversed
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
137 Branch
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Testcase:
data:text/html,<select size=4 style=writing-mode:sideways-rl><option>one<option>two<option>three<option>four<option>five
Click in the <select> and then attempt to use the left- and right-arrow keys to move the highlight back and forth through the options: movement is reversed from the expected direction.
Assignee | ||
Comment 1•8 days ago
|
||
Updated•8 days ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•8 days ago
|
||
The above patch handles this by swapping left/right key codes in nsListControlFrame::HandleEvent, and appears to work as expected in local testing. An alternative approach might be to handle things in HTMLSelectEventListener, but that seems like it might become a somewhat more extensive patch.
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8a2b9d6d762c
Swap behavior of left- and right-arrow keys in list control with vertical-rl writing mode. r=layout-reviewers,emilio
Comment 4•7 days ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 days ago
status-firefox137:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Comment 5•7 days ago
|
||
bugherder |
Closed: 7 days ago
You need to log in
before you can comment on or make changes to this bug.
Description
•