Closed Bug 456244 Opened 17 years ago Closed 17 years ago

Deleting all content in an inline contenteditable element inserts a <br>

Categories

(Core :: DOM: Editor, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

Details

(Keywords: testcase)

Attachments

(3 files)

Deleting all content in an inline contenteditable element inserts a <br>. I would guess it's a similar problem as in bug 455992. STEPS TO REPRODUCE 1. load the attached testcase 2. delete the X so that the span becomes empty ACTUAL RESULTS A <br> is inserted into to the DOM, making "Y" move to the next line.
Attached file Testcase
Attached patch Patch rev. 1Splinter Review
Assignee: nobody → mats.palmgren
Attachment #339658 - Flags: superreview?(peterv)
Attachment #339658 - Flags: review?(peterv)
Attachment #339658 - Flags: superreview?(peterv)
Attachment #339658 - Flags: superreview+
Attachment #339658 - Flags: review?(peterv)
Attachment #339658 - Flags: review+
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: