Caret browsing and moving the cursor in `designMode`/`contenteditable` doesn't work properly for certain display:none elements
Categories
(Core :: DOM: Selection, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | wontfix |
firefox89 | --- | wontfix |
firefox90 | --- | wontfix |
firefox91 | --- | fix-optional |
People
(Reporter: toasted.nutbread, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: parity-chrome, regression)
Attachments
(1 file)
354 bytes,
text/html
|
Details |
When using caret browsing mode, caret will sometimes not be able to progress past certain elements when using the right arrow key. The caret will be "trapped" on the left side of the content.
To reproduce, test using the attached file:
- Enable caret browsing (F7)
- Put the caret at the start of "Before"
- Use the right arrow key to move the caret
- Note that the caret cannot move past the end of "Before"
The caret does seem to be able to move from right to left to cross the boundary. This does take an additional key press, but that is not as much of a problem.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
This also happens without caret browsing if you use document.designMode="on"
, or if you use contenteditable
.
Would be interesting to know if it's a regression.
Comment 3•3 years ago
|
||
The bug can be reproduced in Firefox 3.0, but not in Firefox2.0.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
(In reply to Alice0775 White from comment #3)
The bug can be reproduced in Firefox 3.0, but not in Firefox2.0.
Thank you Alice for the tip. Looking further into this on Windows10x64 it seems that 3.0b1 is a good build and 3.0b2 is the bad build. On 3.0b1 is a slight jerkiness when moving caret after Before
word but it can be moved. Unfortunately, I don't know how to make a push log from these two builds.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•