Closed
Bug 101342
Opened 23 years ago
Closed 23 years ago
Extraneous <br> when <td> content is <textarea>
Categories
(Core :: DOM: Editor, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: neil, Assigned: mozeditor)
Details
(Whiteboard: EDITORBASE; 1 day)
Using Build ID: 2001091903 Steps to reproduce problem: 1. Edit a new blank page 2. Insert/HTML <table><tr><td><textarea></textarea></td></tr></table> Actual results: table cell contains a <br> and a textarea Expected results: table cell only contains a textarea Additional information: It is impossible to delete the <br>
The problem seems to be nsHTMLEditor::IsEmptyNode() ... I think we need to check against a list of known container nodes (textarea, comboboxes, etc) that should prevent it from recursing and cause it to return PR_FALSE.
Assignee: kin → jfrancis
Assignee | ||
Comment 2•23 years ago
|
||
da da da 095
Status: NEW → ASSIGNED
Whiteboard: EDITORBASE; 1 day
Target Milestone: --- → mozilla0.9.5
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Assignee | ||
Comment 3•23 years ago
|
||
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•