Unexpected empty <div> left when removing whole content from <body> with contenteditable="true"

Confirmed Issue #4826577 • Assigned to Grisha L.

Details

Created
Oct 2, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  1. Create a html file with the following content:
    <html><head></head><body contenteditable="true"></body></html>
    and open/serve it.
  2. Type some text.
  3. Select the whole text either by Ctrl+A or using the mouse.
  4. Hit backspace.

Expected Results:

After deleting the content the <body> element should contain at most a <br> element.

Actual Results:

Dev Channel specific:

Yes

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Christian F.”

      Changed Assigned To to “Amit J.”

      Changed Status to “Confirmed”

      Changed Assigned To to “Amit J.”

      Changed Assigned To from “Amit J.” to “Grisha L.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in