Deleting a deeply nested list does not remove list items

Confirmed Issue #15930360 • Assigned to Amit J.

Details

Author
Alexander E.
Created
Feb 13, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Chrome
Found in build #
16.16299
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Trying to remove a deeply nested list causes each affected list to remain in the DOM with one list item each.

Please see the attached file for a live demo.

Chromium Bugreport There’s a similar issue in Chrome, but it causes less list fragments to remain: https://bugs.chromium.org/p/chromium/issues/detail?id=811746

Setup

1. A
2. B
  1. C
    1. D
3. E

Select the content from B to D and press [DEL] or [BACKSPACE], or execute getSelection().getRangeAt(0).deleteContents().

Expected Result

1. A
2. <caret>
3. E

Actual Result

1. A
2. 
  1. 
    1. <caret>
3. E

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

    Changed Assigned To to “Grisha L.”

    Changed Status to “Confirmed”

    Changed Title from “Deleting a deeply nested list does not remote list items” to “Deleting a deeply nested list does not remove list items”

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

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

Sign in