W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Disabling non-collapsed selection

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Sat, 15 Oct 2011 10:51:30 -0700
Message-ID: <CABNRm60JMgC3jojWpYU4XXsOLiq4wPZFvq50bH4VZC2w2JV4zQ@mail.gmail.com>
To: public-webapps <public-webapps@w3.org>
Cc: Ehsan Akhgari <ehsan@mozilla.com>, Aryeh Gregor <ayg@aryeh.name>
Hi all,

Is there an interest in providing a way to prevent non-collapsed selection
under some node in a document? And if there is, what are use cases?

Authors periodically file a WebKit bug against our implementation of
selectstart event that they can't use it to disable selection. WebKit
supports "-webkit-user-select: none" to do this but some authors apparently
want to allow collapsed selection.

I personally don't quite understand why authors ever want to do this but I'm
not totally against the idea of providing new mechanism for this if there
are good use cases.

Ryosuke Niwa
Software Engineer
Google Inc.
Received on Saturday, 15 October 2011 17:52:19 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:36 UTC