NEW 21479
Backspacing after radio and checkboxes in contenteditable delete wrong content
https://bugs.webkit.org/show_bug.cgi?id=21479
Summary Backspacing after radio and checkboxes in contenteditable delete wrong content
Jon@Chromium
Reported 2008-10-08 11:03:49 PDT
Bug blocks Chromium, see http://code.google.com/p/chromium/issues/detail?id=2876 Open the attached HTML reduction and follow the instructions. You will notice that to delete the radio or checkbox widgets you have to place the cursor to the left of the widget instead of the right.
Attachments
Reduction that illustrates the problem nicely. (2.50 KB, text/html)
2008-10-08 11:05 PDT, Jon@Chromium
no flags
Jon@Chromium
Comment 1 2008-10-08 11:05:37 PDT
Created attachment 24192 [details] Reduction that illustrates the problem nicely. The original reduction mentions the DOM getting confused. This no longer appears to be the case. Now only the positioning of the cursor is an issue.
Ahmad Saleem
Comment 2 2022-06-30 17:14:03 PDT
I am able to reproduce this bug in Safari 15.5 on macOS 12.4 using the attached test case. Similar to setup, use keyboard arrow keys in radio and check box button one and hit backspace, the button will not remove from right side but it will remove from left side (when caret position is before checkbox or radio button - if looking from Left to Right). All other browsers behave same like each other and delete "radio" and "checkbox" from right upon backup after placing caret on line end. Thanks!
Note You need to log in before you can comment on or make changes to this bug.