New issue
Advanced search Search tips

Issue 662361 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Can't select all with nested contenteditable elements

Reported by piotr.wa...@gmail.com, Nov 4 2016

Issue description

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

Steps to reproduce the problem:
1. Create editor element that has contenteditable="true"
2. Add child element as first that has contenteditable="false"
3. Add child that enables back contenteditable="true" to a child from step 2.
4. Add simple paragraph or other textual element directly under parent editor.
5. Try to execute Select All command (cmd/ctrl+a)

Here is codepen that demonstrates this issue: http://codepen.io/pwalczyszyn/pen/wowQdq Problem occurs only when nested contenteditable elements are either first or last.

What is the expected behavior?
Content of parent editor with contenteditable="true" should be selected.

What went wrong?
Content of parent editor with contenteditable="true" element is not selected.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 54.0.2840.71  Channel: n/a
OS Version: OS X 10.12.1
Flash Version: Shockwave Flash 23.0 r0
 
chrome-bug.html
2.0 KB View Download
Components: Blink>Editing

Comment 2 by yosin@chromium.org, Nov 7 2016

Components: -Blink>Editing Blink>Editing>Selection
Status: Available (was: Unconfirmed)
Due by visible position canonicalization...

Comment 3 by yosin@chromium.org, Oct 4 2017

Labels: Pri-3
Project Member

Comment 4 by sheriffbot@chromium.org, Oct 4

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
Status: Available (was: Untriaged)

Sign in to add a comment