Open
Bug 1866426
Opened 1 year ago
Updated 1 year ago
[contentEditable] Unexpected edit behavior in contentEditable element
Categories
(Core :: DOM: Editor, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: BowenAndBugs, Unassigned)
Details
Attachments
(1 file)
1.90 MB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Steps to reproduce:
- create a list that is contentEditable. (the sample is in the attachment)
- select some lines and make sure the selection range ends at the end of that list
- different selections cause a different problem, divided into 3-a and 3-b:
3-a. press backspace
3-b. input any character or paste any words
UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0
Actual results:
All the sample is in the attachment.
in 3-a:
an extra line appears after the deletion takes effect
in 3-b:
the input or paste doesn't work this time
Expected results:
All the sample is in the attachment.
no extra line should appear
and the input or paste should take place
Updated•1 year ago
|
Component: Untriaged → DOM: Editor
Product: Firefox → Core
Updated•1 year ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•