Open Bug 1625236 Opened 6 years ago Updated 6 years ago

Contenteditable inline element splitter creates unexpected empty element

Categories

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

x86_64
Windows 10
defect

Tracking

()

People

(Reporter: saschanaz, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [h2review-noted])

Attachments

(1 file)

  1. Open the attachment
  2. Put the caret at the end of the first line
  3. Tap delete key

Expected:

<div contenteditable="">
  abc<strong>bcd</strong><p><strong>strong</strong></p>
  cde
</div>

Actual:

<div contenteditable="">
  abc<strong>bcd</strong><br><strong></strong><p><strong>strong</strong></p>
  cde
</div>

<br> is also redundant here.

Priority: -- → P3

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
Whiteboard: [h2review-noted]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: