Bug 213336 - Deleting line with backspace in textarea does not reflect in UI
Summary: Deleting line with backspace in textarea does not reflect in UI
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: Safari 13
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-06-18 01:21 PDT by Maksim Ryzhikov
Modified: 2022-02-11 15:07 PST (History)
5 users (show)

See Also:


Attachments
Image of actual result after pressing Backspace. No empty line in JS but still rendered by Browser (103.73 KB, image/png)
2020-06-18 01:21 PDT, Maksim Ryzhikov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>