NEW 12153
Display: inline contenteditable elements recieve new line when empty
https://bugs.webkit.org/show_bug.cgi?id=12153
Summary Display: inline contenteditable elements recieve new line when empty
Matt Lilek
Reported 2007-01-07 12:19:18 PST
When a contenteditable element thats set to display: inline is emptied, it will return a new line as its innerText/innerHTML. This is the same as a block element, except when content is placed in it, the block element's new line is removed but the inline element keeps the new line appended onto the end with no way to remove it.
Attachments
Reduction (636 bytes, text/html)
2007-01-07 12:19 PST, Matt Lilek
no flags
Matt Lilek
Comment 1 2007-01-07 12:19:43 PST
Created attachment 12282 [details] Reduction
Alexey Proskuryakov
Comment 2 2010-06-05 00:11:51 PDT
This is still an issue with current nightlies.
Brent Fulgham
Comment 3 2022-07-06 16:00:26 PDT
This is still an issue with Safari, Chrome, and Firefox in 2022. Is this actually a bug? Or is this correct behavior?
Note You need to log in before you can comment on or make changes to this bug.