[webkit-dev] new -webkit-user-select value: atomic

Ryosuke Niwa rniwa at webkit.org
Mon Jul 23 15:39:51 PDT 2012


On Mon, Jul 23, 2012 at 3:32 PM, Alice Cheng <alice_cheng at apple.com> wrote:

> We intend to work on an experimental implementation of a new
> -webkit-user-select value that we are calling "atomic". This value causes
> the element to which it is applied to behave atomically for selection
> purposes; either all of none of the element and its contents are contained
> in the selection.
>

Could you give us an example of how this properly might be used?

The "user-select"  property is not currently specified in any CSS
> specification, but we intend to start discussion on www-style.
>

Yes! Given that IE10 now supports -ms-user-select, it is imperative that we
spec this property in the CSS working group.

Firefox implements this property (prefixed with "-moz"). They have a value,
> "all", that superficially behaves like "atomic", but has some different
> behavior under incremental selection, which is why we're not using that
> value.
>

Could you elaborate more on the difference? Maybe the difference is small
enough that it makes sense to reuse "all". e.g. Mozilla might be willing to
change their behavior for "all".

- Ryosuke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120723/bdc0a3d2/attachment.html>


More information about the webkit-dev mailing list