W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2016

[csswg-drafts] [css-ui-4][user-select] user-select:all and contenteditable

From: yoichio via GitHub <sysbot+gh@w3.org>
Date: Fri, 24 Jun 2016 09:40:10 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-162111481-1466761210-sysbot+gh@w3.org>
yoichio has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-ui-4][user-select] user-select:all and contenteditable ==
https://drafts.csswg.org/css-ui-4/#propdef-user-select

if we have
`<div contenteditable style="user-select:all;">foobar</div>`,
how focus and caret should work?

Can user put a caret inside the text or not?
If can, shift+arrow still selects all? It may be annoying.

For now, Firefox supports as `-moz-user-select:all` but it behaves 
very weird: 
user can put a caret only on the head of text and can input characters
 but can't move caret.

Chrome starts to support `-webkit-user-select:all` in the canary 
channel but user can't focus because Chrome interprets 
`user-select:all` as user can't put focus and extent into the element.


Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/231 using your GitHub 
account
Received on Friday, 24 June 2016 09:40:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:20 UTC