Created attachment 312495 [details] Test case to reproduce the issue What steps will reproduce the problem? (1) Load the attached test case (2) Place the cursor at the list item 2. (3) Hit backspace to the list item is removed What is the expected result? The list item 2 is removed but the list still holds the item 1. What happens instead? The whole table is deleted.
Maybe related to bug #173117 ?
The Blink bug (731913) has been already fixed, so perhaps we try a similar approach with this bug.
Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/5961ff06240e30a18405608f06d8eea4730c7b8f Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/8a344c3387b2bfe58dc8c8a94b1683187effef2e/Source/WebCore/editing/DeleteSelectionCommand.cpp#L112 !IsListItem(position.xxx Still haven't figured out xxx yet. Thanks!
(In reply to Ahmad Saleem from comment #3) > Blink Commit - > https://chromium.googlesource.com/chromium/src.git/+/ > 5961ff06240e30a18405608f06d8eea4730c7b8f > > Webkit GitHub Source - > https://github.com/WebKit/WebKit/blob/ > 8a344c3387b2bfe58dc8c8a94b1683187effef2e/Source/WebCore/editing/ > DeleteSelectionCommand.cpp#L112 > > !IsListItem(position.xxx > > Still haven't figured out xxx yet. Thanks! Although before that I am not able to reproduce this bug and only 2. bullet get destroyed and 1. remains. So I think the test case attached is working fine in Safari 16.1. Do we need anything else or we can close this? Thanks!
No longer reproduces.