Closed Bug 203265 Opened 22 years ago Closed 5 months ago

paragraph nested in definition list prevents line breaks from being added

Categories

(Core :: DOM: Editor, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

()

Details

found using 2003.04.24 comm bits. 1. have the following code in the editor: <body> <dl> the definition list <dt>the term</dt> <dd>the definition <p>some paragraph text inside the definition.</p> </dd> </dl> </body> 2. in composer, click at the end of the content, to the right of the period in "inside the definition." 3. hit the Return (or Enter) key. expected behavior: should add another line break (add a <br>) actual results: nothing is added.
an even more minimalized test case exhibits the same problem: <body> <dd>the definition <p>some paragraph text inside the definition.</p> </dd> </body> i can "workaround" this issue if i add something (text or even &nbsp; --but not plain whitespace) between the </p> and the </dd>. i can then add line breaks (<br>'s), but they end up being placed *btwn* the </p> and </dd>. so i still cannot get outside of the </dd> in the Normal editing view --i need to go into HTML source view to do that.
QA Contact: bugzilla → editor
Assignee: mozeditor → nobody

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5

Now, it inserts a new <dt>. Although Chrome inserts <dd><p><br></p></dd>, the difference is not in the scope of this bug.

Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.