W3C home > Mailing lists > Public > www-style@w3.org > June 2015

[css-ui-4] Bikeshedding user-select: element

From: Florian Rivoal <florian@rivoal.net>
Date: Sat, 20 Jun 2015 17:06:13 +0200
Message-Id: <6D8F8CAF-461B-45A1-A3B5-1EDC1CC2675C@rivoal.net>
To: www-style list <www-style@w3.org>
http://dev.w3.org/csswg/css-ui-4/#issue-dc2ca3bf

Not sure the name user-select:element keeps the selection inside an element if it started there. It got called this way for historical reasons (back when the property was also meant to apply to the content of dropdowns, check boxes, and radio buttons), but it is not a particularly intuivive name for what it now does.

How about something like "contain" or "inside" instead?

The current state of support for this value is:

* IE supports it since 2012 under the -ms- prefix with the same semantics as in the spec.
* Firefox parses it under the -moz- prefix since forever, but hasn't implemented any behavior (i.e. it does the same as the initial value).

I'm hoping that this is still new enough that auto (de)prefixers haven't yet locked us into a compatibility trap.

 - Florian
Received on Saturday, 20 June 2015 15:06:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC