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 Editing | Assignee: | 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: |
|
I am unable to reproduce the following in Safari 15.5 on macOS 12.4 using attached test case. Thanks! Thank you for checking, I'm also unable to reproduce. |
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.