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

> for both properties, the computed value is the specified value

Yes.

> contain+text does the same as what contain does today

Yes.

> contain+none does the same as none

Yes.

> contain+all means:...

Yes. The latter case is an additional behavior from the current spec.

> user-select-contain would need an auto value that computes to (or 
behaves as, if you prefer used value time) contain on editable 
elements, and as none on the rest.

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; }
```
correct?

> we need auto to behave as none on ::before, ::after, ::marker

I haven't tested this yet, is it interoperable today, including Blink 
and WebKit? Is there a test?

Assuming yes, again, if you just want to set to a specific value in 
specific cases, `auto` isn't really needed, you can just set it either
 by UA stylesheet or by code. `auto` computing to different values has
 additional complexity than that, so we'd like to limit it to only 
when it cannot be achieved by other methods.

-- 
GitHub Notification of comment by kojiishi
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/336#issuecomment-238169350 
using your GitHub account

Received on Monday, 8 August 2016 08:12:01 UTC