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

Re: [csswg-drafts] [css-ui-4][user-select] value is used value?

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 08 Aug 2016 09:51:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-238190981-1470649859-sysbot+gh@w3.org>
> I'm ok with it, but a question is if author wants to set 
user-select-contain: none to editable elements or textarea. If it's 
not useful, we can just set to contain for such elements; i.e.,
>`input[type=text], textarea, [contenteditable] { user-select-contain:
 contain; }`

It is probably not useful to allow editable elements to have 
`user-select-contain: none`, but that means we cannot do it via the UA
 stylesheet, since people would then be able to override it. But 
thinking again, that does not mean we need an `auto` value after all. 
We just need to say that both `user-select-contain: none` and 
`user-select-contain: contain` compute to (or behave as, if we don't 
want to do it as computed value time) `user-select-contain: contain` 
on editable elements.

GitHub Notification of comment by frivoal
Please view or discuss this issue at 
using your GitHub account
Received on Monday, 8 August 2016 09:51:27 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:01 UTC