New issue
Advanced search Search tips

Issue 664504 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Oct 31
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Backspace doesn't work correctly with a combination of zero-width non-joiner and zero-width space

Reported by joshung...@gmail.com, Nov 11 2016

Issue description

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

Steps to reproduce the problem:
Don't ask how I got into this state. : )

1. echo -e '\r\n//foo\xe2\x80\x8c\xe2\x80\x8bbar' >> app.js

2. Load app.js into Chrome.

3. Place cursor before bar.

4. Hit backspace twice.

What is the expected behavior?
The zero-width non-joiner and the zero-width space are deleted and the result is 'foobar'.

What went wrong?
An additional 'o' is deleted and shows 'fobar'

Did this work before? N/A 

Chrome version: 56.0.2916.0  Channel: canary
OS Version: OS X 10.12.0
Flash Version: Shockwave Flash 24.0 r0
 
Owner: einbinder@chromium.org
Status: Assigned (was: Unconfirmed)
Could it be related to CodeMirror?
Status: Archived (was: Assigned)
Bulk closing low-priority issues with no activity. Please re-file and refer to the closed issue if it's essential to fix.

Sign in to add a comment