New issue
Advanced search Search tips

Issue 600860 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 3
Type: Compat



Sign in to add a comment

Pasting from plain text source into contenteditable list results in overlapping list items

Reported by aaron.na...@pearson.com, Apr 5 2016

Issue description

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

Example URL:
https://jsfiddle.net/3xq97op4/

Steps to reproduce the problem:
1. Copy the text from the textarea
2. Paste it into the ordered list in the contenteditable

What is the expected behavior?
Each line of the plain text should be in it's own list item and all list items should be visible.

What went wrong?
Item 1 in the list is empty and overlapped by item 2. Notice that the 1 and 2 bullets are overlapping.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? N/A 

Chrome version: 49.0.2623.110  Channel: stable
OS Version: OS X 10.10.5
Flash Version: Shockwave Flash 21.0 r0

The behavior is the same in Safari. Behavior is the same on windows and mac.
 
Labels: OS-Windows
Status: Untriaged (was: Unconfirmed)

Comment 2 by tkent@chromium.org, Apr 14 2016

Components: Blink>Editing

Comment 3 by yosin@chromium.org, Apr 19 2016

Components: -Blink>Editing Blink>Layout
Paste command assembles proper DOM tree. It seems layout tree update doesn't work well, e.g. "cccc..." should be "3. ccccc" == LayoutListMarker.m_text has wrong value.
cr600860.png
154 KB View Download

Comment 4 by e...@chromium.org, Apr 19 2016

Components: Blink>Editing>Paste
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)

Comment 5 by e...@chromium.org, Feb 9 2017

Components: -Blink>Layout
Project Member

Comment 6 by sheriffbot@chromium.org, Apr 13 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
This issue is still happening in Chrome 65 and in Canary 67. It still needs to be fixed.

Comment 8 by yosin@chromium.org, Apr 18 2018

Status: Available (was: Untriaged)
Hello, any update on this?
Any update on this?

Sign in to add a comment