Re: [csswg-drafts] [css-ui-4] let user-select:contain prohibit selection from outside

So in essence, you would like a change from this sentence
> The UA must allow selections to extend across this element, and such selections must include the content of the element.

to

> The UA must allow selections to extend across this element, and such selections must **not** include the content of the element.

Maybe this is a good idea instead of the current behavior, or maybe this is a good idea of an additional value with a different behavior.

However, we have a problem: For this to work, we would need selections that can contain multiple  DOM ranges. Currently, only firefox supports this, and as far as I know, no other browser plans to implement that behavior.

If it would be acceptable to have the behavior you ask in browsers like firefox (and probably only firefox), and to keep the current behavior everywhere else (similarly to how user-select:none skips the content in Firefox only), then we can do this. Not saying everyone will agree, but at least it is arguable possible. Otherwise, I don't think we have a realistic path forward.

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

Received on Friday, 15 September 2017 05:01:01 UTC