New issue
Advanced search Search tips

Issue 922984 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

<br> left in contenteditable div after replacing contents

Reported by chesscha...@gmail.com, Jan 17 (5 days ago)

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce the problem:
1. Visit this pen (https://cdpn.io/e/Jvmqyo) and clear the contents
2. Inspect the code and see that there is still a lingering <br> tag remaining in the contenteditable div

What is the expected behavior?
When all content is cleared, the contenteditable div should be emptied

What went wrong?
When the contenteditable div, one br tag remains which is difficult to remove— currently requires typing a different character and then backspacing to remove the random br tag that remains

Did this work before? No 

Chrome version: 71.0.3578.98  Channel: stable
OS Version: OS X 10.14.1
Flash Version:
 

Comment 1 by viswa.karala@chromium.org, Jan 18 (5 days ago)

Labels: Needs-Triage-M71

Comment 2 by susan.boorgula@chromium.org, Jan 18 (4 days ago)

Cc: susan.boorgula@chromium.org
Components: Platform>DevTools
Labels: Triaged-ET Target-73 M-73 FoundIn-71 FoundIn-73 FoundIn-72 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
chesschaser@ Thanks for the issue.

Able to reproduce this issue on Windows 10, Ubuntu 17.10 and Mac OS 10.13.6 on the latest Stable 71.0.3578.98 and latest Canary 73.0.3674.0.
This is a Non-Regression issue as this behavior is observed from M-60 chrome builds.
Attached is the screen shot for reference.

Hence marking this as Untriaged for further updates from Dev.

Thanks..
922984-M60.PNG
133 KB View Download

Sign in to add a comment