Re: [whatwg] Making selectionDirection platform-independent

2011-09-27 Thread Aryeh Gregor
On Mon, Sep 26, 2011 at 12:34 PM, Ryosuke Niwa rn...@webkit.org wrote: No. The property is platform dependent. It's just that UAs on Windows and Linux don't use none in most cases. Do they ever use it?

Re: [whatwg] Making selectionDirection platform-independent

2011-09-27 Thread Philip Rogers
After playing with selection in various Mac OSX apps and reading the earlier discussion on this list, I agree that the spec does the best possible cross-platform implementation after all. I apologize for bringing this back up, and thank you for your responses. Philip On Mon, Sep 26, 2011 at

[whatwg] Making selectionDirection platform-independent

2011-09-26 Thread Philip Rogers
The spec ( http://www.whatwg.org/specs/web-apps/current-work/#dom-textarea/input-selectiondirection) currently allows for platform-specific differences in selectionDirection that limit its usefulness. Tightening the requirements to be platform-independent will allow selectionDirection to be used

Re: [whatwg] Making selectionDirection platform-independent

2011-09-26 Thread Ian Hickson
On Mon, 26 Sep 2011, Philip Rogers wrote: Are there arguments against making selectionDirection explicitly forward or backward if the user modifies the selection, regardless of platform? It wouldn't match the platform on platforms that don't do that. -- Ian Hickson U+1047E

Re: [whatwg] Making selectionDirection platform-independent

2011-09-26 Thread Ryosuke Niwa
On Mon, Sep 26, 2011 at 9:14 AM, Philip Rogers p...@google.com wrote: The spec ( http://www.whatwg.org/specs/web-apps/current-work/#dom-textarea/input-selectiondirection ) currently allows for platform-specific differences in selectionDirection that limit its usefulness. Tightening the

Re: [whatwg] Making selectionDirection platform-independent

2011-09-26 Thread Ryosuke Niwa
On Mon, Sep 26, 2011 at 9:34 AM, Ryosuke Niwa rn...@webkit.org wrote: On Mon, Sep 26, 2011 at 9:14 AM, Philip Rogers p...@google.com wrote: The spec ( http://www.whatwg.org/specs/web-apps/current-work/#dom-textarea/input-selectiondirection ) currently allows for platform-specific

Re: [whatwg] Making selectionDirection platform-independent

2011-09-26 Thread Bjartur Thorlacius
On Mon, 26 Sep 2011 16:14:39 -, Philip Rogers p...@google.com wrote: It looks like editors using a textarea (such as codemirror) are currently working around this by not drawing a cursor when there is a selection. In ignorance of the specificatory problem you describe, this seems sane