W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2017

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

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Fri, 15 Sep 2017 05:01:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-329681869-1505451658-sysbot+gh@w3.org>
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

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