W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] Control over selection direction

From: Ojan Vafai <ojan@chromium.org>
Date: Tue, 18 Jan 2011 13:42:42 -0800
Message-ID: <AANLkTikxMPpj-B3vKbRBdsEo=8bRvowYSdEMtQxRn4A-@mail.gmail.com>
On Sun, Jan 16, 2011 at 2:44 PM, Aryeh Gregor
<Simetrical+w3c at gmail.com<Simetrical%2Bw3c at gmail.com>
> wrote:

> If we just have a boolean, it's unambiguous: the properties are all
> logically separate.  We don't want to emulate the DOM selection API,
> IMO -- it's ridiculously complex for minimal functionality gain, even
> accounting for the fact that it has to deal with nodes as well as
> offsets.  Save authors the pain, if they only have to deal with text
> fields.
>

I agree. If we could change the DOM apis to just have start/end use a
bool/enum for the direction it would certainly be simpler for web developers
than what we have today.

Ojan
Received on Tuesday, 18 January 2011 13:42:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC