Closed
Bug 597349
Opened 14 years ago
Closed 13 years ago
Contenteditable element inside list duplicates editable element
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 460740
People
(Reporter: michiel.vaneerd, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
390 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729)
When ENTER is pressed inside a DIV that has contenteditable set to true and is placed inside a list item, another DIV element is created that has also contenteditable set to true. If the DIV has an ID, this is also set to the new DIV.
Reproducible: Always
Steps to Reproduce:
Open te following page:
<!DOCTYPE html>
<html>
<body>
<ul>
<li><div id="mydiv" contenteditable="true">Hello</div></li>
</ul>
</body>
</html>
Actual Results:
The DIV with ID "mydiv" is duplicated (another DIV is created with the same ID and also with contenteditable set to true) when you press ENTER.
Expected Results:
No DIV element should be created (just like it would be when the DIV was not placed inside a list element).
Reporter | ||
Comment 1•14 years ago
|
||
![]() |
||
Updated•14 years ago
|
Component: General → Editor
Keywords: testcase
Product: Firefox → Core
QA Contact: general → editor
Version: unspecified → 1.9.2 Branch
Comment 3•14 years ago
|
||
Probably a duplicate of bug 570144.
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•