Bug 213336

Summary: Deleting line with backspace in textarea does not reflect in UI
Product: WebKit Reporter: Maksim Ryzhikov <rv.maksim>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=210677
Attachments:
Description Flags
Image of actual result after pressing Backspace. No empty line in JS but still rendered by Browser none

Description Maksim Ryzhikov 2020-06-18 01:21:47 PDT
Created attachment 402192 [details]
Image of actual result after pressing Backspace. No empty line in JS but still rendered by Browser

Steps to reproduce:

- Open `data:text/html,<textarea>foo%0A%0Abar%0Azoo</textarea>`
- Set cursor under foo

```
foo
<cursor>
bar
zoo
```
- Remove empty line by pressing [backspace]


Expected Result:
The line should be deleted and rendered as deleted

Actual Result:
Textarea still show empty but the value has changed


Safari Version 13.1.1 (15609.2.9.1.2)
Comment 1 Radar WebKit Bug Importer 2020-06-18 10:59:52 PDT
<rdar://problem/64496378>