Bug 258253

Summary: browser deletes contenteditable="false" element when merging two lines
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
URL: https://jsbin.com/yurazofuvu/1/edit?html%2Ccss%2Coutput=

Description Ahmad Saleem 2023-06-17 17:17:16 PDT
Hi Team,

This is copy of crbug.com/991399.

Test Case URL: https://jsbin.com/yurazofuvu/1/edit?html%2Ccss%2Coutput=


Steps:

1) Place caret before 'second line'
2) Press 'backspace'
3) Lines are merged but with surprise


Actual Result:

It removes 'broke Image Icon Book (1)...' bit in STP172 and Chrome Canary 116.


Expected Result:

Don't delete bits like Firefox Nightly 116.

______

Just wanted to raise, so we can track it as well for fixing it.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-06-24 17:18:13 PDT
<rdar://problem/111271691>