Closed
Bug 1216483
Opened 10 years ago
Closed 1 year ago
[contenteditable] cursor movement between flexbox containers is incorrect
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
DUPLICATE
of bug 1475232
People
(Reporter: stef.busking, Unassigned)
References
Details
Attachments
(1 file)
|
328 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0
Build ID: 20151015193503
Steps to reproduce:
See http://codepen.io/Bwrrp/pen/GpyrqQ for a minimal reproducable example.
The bug seems to be triggered by the use of flexbox layout inside a contenteditable element.
Place the text cursor on the last line of the first paragraph of text, then press the down arrow key to move to the second paragraph.
Actual results:
The cursor moves to (or close to) the end of the second paragraph, several lines of text below its previous position
Expected results:
The cursor should have moved to the line of text directly below its previous position, in a horizontally similar position. This does work correctly in Google Chrome.
| Reporter | ||
Updated•10 years ago
|
OS: Unspecified → All
Hardware: Unspecified → All
Comment 1•10 years ago
|
||
Thanks for the bug report -- I can reproduce in latest Nightly, 44.0a1 (2015-10-19)
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
Product: Firefox → Core
Version: 41 Branch → Trunk
Comment 2•10 years ago
|
||
Here's a slightly condensed version of the reporter's codepen testcase.
Updated•3 years ago
|
Severity: normal → S3
| Reporter | ||
Comment 3•1 year ago
|
||
Checking back on some older issues I reported, it looks like I'm no longer able to reproduce this one in the latest Firefox Developer Edition (122.0b3). Feel free to close.
Comment 4•1 year ago
|
||
Thanks!
Here's the fix range (via mozregression)
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1712236ad4a08e07d74bfb03fef7fe2afeb1607a&tochange=08038e535f5829c597acade6b2b375bdb3615432
That includes the "see also" bug that was linked above -- bug 1475232 -- whose description sounds quite similar. So presumably this was fixed by that bug's patch. --> Duping.
You need to log in
before you can comment on or make changes to this bug.
Description
•