Range outside of child elements in contenteditable
Categories
(Core :: DOM: Editor, defect)
Tracking
()
People
(Reporter: danmysak, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: parity-chrome, regression, Whiteboard: [h2review-noted])
Attachments
(1 file)
(deleted),
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
Steps to reproduce:
- Open index.html.
- Place cursor inside the contenteditable.
- Select all (Command + A).
- Press right arrow.
- Type "b".
Actual results:
"b" appears on a separate line.
Expected results:
"b" should have appeared on the same line as "a".
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•4 years ago
|
||
Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3ada6a2fd0c6&tochange=64d6d002e888
Suspect:
9a09523eb5ddaea9228e21d1205a0790fec0533f Mats Palmgren — Bug 859088 - Left/Right Arrow key after selection should move to the beginning/end of selection respectively (on all platforms). r=ehsan
Comment 3•4 years ago
|
||
Interesting case... We need to investigate when selection is moved to the end of the last text node in this case.
- immediately after "Select All"
- immediately before
beforeinput
- immediately before handling the typing
Updated•4 years ago
|
Description
•