NEW53524
Delete does nothing on the line after a display:block image
https://bugs.webkit.org/show_bug.cgi?id=53524
Summary Delete does nothing on the line after a display:block image
Justin Garcia
Reported 2011-02-01 13:29:12 PST
Open: <div contentEditable="true"><img src="https://encrypted.google.com/images/logos/ssl_logo_lg.gif" style="display:block;">hello</div> place the caret before "hello" and press delete. Nothing happens. <rdar://problem/8162920>
Attachments
Ahmad Saleem
Comment 1 2024-04-11 06:35:00 PDT
*** Safari Technology Preview 192 *** Placing caret before 'Hello' and pressing 'Delete' (nothing happens) *** Chrome Canary 125 *** Same as Safari. *** Firefox Nightly 126 *** Same as Safari & Chrome. ____ All browsers are behaving same. ____ JSFiddle - https://jsfiddle.net/qu25v1r9/ ___ Although if I tweak steps slightly: Place caret before 'Hello' and then do 'left arrow' to push the caret to end of image (at least in Safari / Chrome) and press 'Delete'. **** Safari Technology Preview 192 *** Image get deleted but 'Hello' remains in second line and caret in first. *** Chrome Canary 125 *** Image get deleted but 'Hello' becomes first line and caret is at start of 'Hello'. *** Firefox Nightly 126 *** Put caret in between 'Hello' and 'Image and don't let me put it at end of Image. ____
Note You need to log in before you can comment on or make changes to this bug.