Contact emails
Spec
https://drafts.csswg.org/css-ui-4/#content-selection
Summary
The user-select:none CSS property lets user not select elements via mouse dragging.
Blink already has -webkit-user-select. For interoperability let’s unprefix it.
Motivation
https://bugs.chromium.org/p/chromium/issues/detail?id=461018
https://bugs.chromium.org/p/chromium/issues/detail?id=481985
developers will write “ .noselect {user-select:none;}” rather than “ .noselect {user-select:none; -webkit-user-select:none} ”.
Interoperability and Compatibility Risk
FF/IE behave as spec but Blink doesn’t.
This intent let Blink follow spec and other browser.
https://bugs.chromium.org/p/chromium/issues/detail?id=481985
Thus we have benefit of interoperability and have compatibility risk.
compatibility risk:
Most important defference between -webkit-user-select:none and user-select:none is
if user start selection from a *-select:none element. http://jsbin.com/zufeva/1/
-webkit-user-select:none: user can select user-select:text element dragging over .
user-select:none: nothing.
-webkit-user-select is used over 70% pages in wild:
https://www.chromestatus.com/metrics/css/timeline/popularity/339
Thus I’m also considering to have user-select implementation and -webkit-user-select simultaneously and deprecate -webkit-user-select as usage downs.
Ongoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
OWP launch tracking bug
I’m not sure this is the OWP lauching.
Link to entry on the feature dashboard
https://www.chromestatus.com/metrics/css/timeline/popularity/339
Requesting approval to ship?
No.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Do you intend to preserve the behavior of -webkit-user-select? Given its usage, it's a safe bet that it can never be removed or deprecated, so if it's different from user-select that's likely going to be a long-term difference. I would support an attempt to change -webkit-user-select to a simple alias of user-select, the risk ought to be limited since the user can always select the thing they want by clicking it directly instead.
I plan to make -webkit-user-select:none follow the spec and ship -webkit-user-select:all, then unprefix -webkit-user-select.
On Tue, Apr 12, 2016 at 1:17 PM, Yoichi Osato <yoi...@chromium.org> wrote:I plan to make -webkit-user-select:none follow the spec and ship -webkit-user-select:all, then unprefix -webkit-user-select.What's the scope of this intent? Only -webkit-user-select:none behavior change?
I plan to make -webkit-user-select:none follow the spec and ship -webkit-user-select:all, then unprefix -webkit-user-select.
On Tue, 12 Apr 2016 06:17:33 +0200, Yoichi Osato <yoi...@chromium.org> wrote:
I plan to make -webkit-user-select:none follow the spec and ship
-webkit-user-select:all, then unprefix -webkit-user-select.
By unprefix, do you mean remove support for the prefixed property, or ship user-select with -webkit-user-select as an alias?
Note that other browsers have implemented -webkit-user-select and the spec now requires it to be supported.
https://drafts.csswg.org/css-ui-4/#propdef-user-select
On Apr 14, 2016, at 11:32, Yoichi Osato <yoi...@chromium.org> wrote:> UAs that support 'user-select' must also support ''-webkit-user-select'' as an alias.That's great.This description was committed 11 days ago:+Florian Rivoal, anything on your mind?