New issue
Advanced search Search tips

Issue 818522 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

user-select:all doesn't work in contenteditable

Project Member Reported by ojan@chromium.org, Mar 4 2018

Issue description

Chrome Version       : 66.0.3357.0
OS Version: OS X 10.13.3
URLs (if applicable) : http://plexode.com/eval3/#s=aekVQXANJVQMbAx1yAURQT1VGmiZFSlVCQ01GHz1PKUZNTVABlQF4Hj0DDlhGQ0ygDlZURlMOvaREVRtCqxwBDk5QW7u9v8FGw8XHAby+wKrSxMZNsx82NCYzlR8Ppx0Qch8DXgA=

Safari: Has different bugs from Chrome
Firefox: Mostly works with a bit of quirks around selection

What steps will reproduce the problem?
1. Load the page
2. Try to select starting before "USER" and continuing through the word. Or, put the cursor at the beginning of the text and try to arrow left/right through "USER".

With the mouse, the selection flickers and does a partial selection of the "USER" text, which shouldn't be possible. With the arrow keys, the cursor goes into the "USER" text as if the user-select:all didn't exist.

Do we have any test for user-select:all? It seems to not work at all.
 

Comment 1 by ojan@chromium.org, Mar 13 2018

Oh, it turns out it's buggy in a different way with contentEditable. Here's the non-editable version that has the selection flicker problem: http://plexode.com/eval3/#s=aekVQXANJVQMbAx1yAR89TylGTU1QAZUBeB49A1ZURlMOqE1GRFUbQp2lHzY0JjOVHw+ZHRByHwNeAA==

Comment 2 by yosin@chromium.org, Mar 16 2018

Components: -Blink>Editing Blink>Editing>Selection
Status: Available (was: Untriaged)
Summary: user-select:all doesn't work in contenteditable (was: user-select:all doesn't work)

Comment 3 by yosin@chromium.org, Mar 16 2018

We have two tests for user-select:all in "editing/selection/user-select/"
 - user-select-all-contenteditable.html
 - user-select-all.html

However, user-select-all-contenteditable.html doesn't have mouse drag tests.

Sign in to add a comment