Open
Bug 1719628
Opened 3 years ago
Updated 3 years ago
Wrong selection extension when using shift+arrow-left in contenteditable tables
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
NEW
People
(Reporter: martinmiddel, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.40 Safari/537.36
Steps to reproduce:
- Make a 3x3 table with the contenteditable attribute set to 'true'.
- Add some content in the cells. At least three characters shows it off the best
- Place the cursor at the end of the content in the bottom-right cell.
- Hold shift and press the arrow-left key multiple times
- Observe the selection
Actual results:
- The selection is extended until it hits the border of the cell
- When the start hits the edge, the end starts to move until the selection is collapsed
- After the selection is collapsed, the selection is being expanded to the next cell
- This pattern repeats until the selection reaches the first cell
At the end, we're left with the contents of the first cell being selected
Expected results:
- Pressing shift + arrow-left should in the end select all the contents of the table.
Reporter | ||
Comment 1•3 years ago
|
||
Comment 2•3 years ago
|
||
I can reproduce the issue in Nightly91.0a1 Windows10. And it is reproduced since Firefox3.0.0.0.
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: Editor
Ever confirmed: true
Product: Firefox → Core
Updated•3 years ago
|
Version: Firefox 88 → Trunk
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•