Bug 136629

Summary: In ContentEditable when backspacing from one paragraph to the previous one removes all contenteditable="false" elements
Product: WebKit Reporter: Pat O'Callaghan <patocallaghan>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, enrica, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.9   
Attachments:
Description Flags
Test case showing the ContentEditable backspace bug none

Pat O'Callaghan
Reported 2014-09-08 07:13:05 PDT
Created attachment 237783 [details] Test case showing the ContentEditable backspace bug FIREFOX 32 - PASS CHROME 37.0.2062.94 - PASS SAFARI 7.0.6 (9537.78.2) - FAIL When backspacing between two paragraphs and the second paragraph contains elements with contenteditable=false, these elements are deleted. STEPS TO REPRODUCE 1. Create multiple paragraphs within a contenteditable element 2. Within one of the paragraphs create some contenteditable=false elements. 3. Place your cursor at the start of the second paragraph 4. Press Backspace EXPECTED RESULTS The two paragraphs should join to become a single paragraph with all of the original content WHAT ACTUALLY HAPPENS The two paragraphs join to become a single paragraph but all content from the contenteditable=false element forwards is deleted.
Attachments
Test case showing the ContentEditable backspace bug (400 bytes, text/html)
2014-09-08 07:13 PDT, Pat O'Callaghan
no flags
Ahmad Saleem
Comment 1 2022-05-31 15:26:08 PDT
I am unable to reproduce the following in Safari 15.5 on macOS 12.4 using attached test case. Thanks!
Alexey Proskuryakov
Comment 2 2022-05-31 20:14:49 PDT
Thank you for checking, I'm also unable to reproduce.
Note You need to log in before you can comment on or make changes to this bug.