Cannot remove text range in a span with contenteditable="true" when text contains <br> tags
Categories
(Core :: DOM: Editor, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox94 | --- | wontfix |
firefox95 | --- | fixed |
firefox96 | --- | fixed |
People
(Reporter: guillermosimmross, Assigned: masayuki, NeedInfo)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0
Steps to reproduce:
Select a text range (using keyboard or mouse) that includes at least one of the <br> tags inside the span tag and press the delete key or Remove in the context remove of the selection.
Actual results:
Nothing happened.
Expected results:
The selected text should have been removed. This works on Firefox 92 and other browsers.
Updated•3 years ago
|
Comment 1•3 years ago
|
||
I can reproduce the issue in Nightly96.0a1 Windows10.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=3db432e2820882f8a29b52e4a3a0baee9e8d19eb&tochange=7af78405aade4dbd64f4c713dc3feeed5d8ffa5b
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
I know only a few web apps uses inline editing host, but this symptom is serious for such web apps.
Assignee | ||
Comment 3•3 years ago
|
||
Looks like that this is a dup of bug 1737540. I cannot reproduce this bug with the latest Nightly. Could you re-test this with the latest Nightly build?
Comment 4•3 years ago
|
||
(In reply to Masayuki Nakano [:masayuki] (he/him)(JST, +0900) from comment #3)
Looks like that this is a dup of bug 1737540. I cannot reproduce this bug with the latest Nightly. Could you re-test this with the latest Nightly build?
Confirmed. It was fixed in Nightly96.0a1(20211110214946) Windows10.
Comment 5•3 years ago
|
||
Does the testcase from bug 1737540 cover this too or should we land a different one to cover this?
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #5)
Does the testcase from bug 1737540 cover this too or should we land a different one to cover this?
Not covered. I'll add WPT.
Assignee | ||
Comment 7•3 years ago
|
||
Comment 10•3 years ago
|
||
bugherder |
Description
•