Open
Bug 1528483
Opened 6 years ago
Updated 2 years ago
Splitting a contenteditable paragraph can result in duplicate HTML IDs
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox67 | --- | affected |
People
(Reporter: pipcet, Unassigned)
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
Splitting <div contenteditable="true"><span id="x">ab</span></div>
between "a" and "b" results in <div><span id="x">a</span></div><div><span id="x">b</span></div>
.
This is related to bug 1449874.
There is code (in HTMLEditRules.cpp:SplitParagraph) to avoid the duplicate id when splitting a paragraph tag (e.g. when splitting <div id="x">ab</div>
), but it is insufficient to handle this case.
Updated•6 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•