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

2012-08-07 Thread Edward O'Connor
Hi,

After reviewing the original specification for 'user-select: all' [1], I
think the behavior we had in mind for 'user-select: atomic' matches the
original intent of 'user-select: all'. It also partially matches the
Mozilla behavior, and I believe the differences are likely to be bugs in
Mozilla's implementation. I've encouraged Alice to proceed with
implementing, using 'all' for the property value, while we continue to
work the issue in the CSS WG.


Thanks,
Ted
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


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

2012-08-07 Thread Ryosuke Niwa
Excellent! Thanks for the follow up. I'm so glad we reached out to the
standards group first.

- Ryosuke
On Aug 7, 2012 2:31 PM, Edward O'Connor eocon...@apple.com wrote:

 Hi,

 After reviewing the original specification for 'user-select: all' [1], I
 think the behavior we had in mind for 'user-select: atomic' matches the
 original intent of 'user-select: all'. It also partially matches the
 Mozilla behavior, and I believe the differences are likely to be bugs in
 Mozilla's implementation. I've encouraged Alice to proceed with
 implementing, using 'all' for the property value, while we continue to
 work the issue in the CSS WG.


 Thanks,
 Ted
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo/webkit-dev

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


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

2012-07-23 Thread Alice Cheng
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.

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

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.

Since the property name is prefixed, we don't intend to prefix the new value.

Alice
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


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

2012-07-23 Thread Ryosuke Niwa
On Mon, Jul 23, 2012 at 3:32 PM, Alice Cheng alice_ch...@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
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


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

2012-07-23 Thread Alice Cheng

On Jul 23, 2012, at 3:39 PM, Ryosuke Niwa rn...@webkit.org wrote:

 On Mon, Jul 23, 2012 at 3:32 PM, Alice Cheng alice_ch...@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.

Mozilla is not selecting atomically using shift + right. It also does not 
select atomically upon dragging. These might just be bugs, but we do hope 
Mozilla will clarify their behavior via the www-style thread.

Here is a link: http://lists.w3.org/Archives/Public/www-style/2012Jul/0541.html

 
 - Ryosuke
 

Thanks,

Alice
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


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

2012-07-23 Thread Brendan Eich

Alice Cheng wrote:
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.


Mozilla is not selecting atomically using shift + right. It also does 
not select atomically upon dragging. These might just be bugs, but we 
do hope Mozilla will clarify their behavior via the www-style thread.


Here is a link: 
http://lists.w3.org/Archives/Public/www-style/2012Jul/0541.html


Mozilla people will take this up on www-style and in the CSS WG. We 
would prefer if vendors not add more divergence to user-select or other 
prefixed properties. We'll try to work quickly to reach consensus in the WG.


/be
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev


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

2012-07-23 Thread Ryosuke Niwa
On Mon, Jul 23, 2012 at 5:05 PM, Brendan Eich bren...@mozilla.org wrote:

 Alice Cheng wrote:

 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.


 Mozilla is not selecting atomically using shift + right. It also does not
 select atomically upon dragging. These might just be bugs, but we do hope
 Mozilla will clarify their behavior via the www-style thread.

 Here is a link: http://lists.w3.org/Archives/**
 Public/www-style/2012Jul/0541.**htmlhttp://lists.w3.org/Archives/Public/www-style/2012Jul/0541.html


 Mozilla people will take this up on www-style and in the CSS WG. We would
 prefer if vendors not add more divergence to user-select or other prefixed
 properties. We'll try to work quickly to reach consensus in the WG.


Thanks for the follow up :) Yeah, I'm quite concerned about adding even
more values to this completely under-speced CSS property as well.

We're already divergent on some aspects of none (see
https://bugs.webkit.org/show_bug.cgi?id=82692 and
https://bugs.webkit.org/show_bug.cgi?id=80159), and I would love to see
some progress in the CSS WG before we proceed with the implementation of
this new value (would be fine if the consensus was to add a new value; I
just want to make sure other browser vendors are well informed).

- Ryosuke
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev