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

[whatwg] Control over selection direction

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Thu, 13 Jan 2011 08:56:27 -0800
Message-ID: <AANLkTim0ny6_QXVTQgHfAoMzLBXMw97QJV-PviwKz781@mail.gmail.com>
On Thu, Jan 13, 2011 at 2:51 AM, Tim Down <timdown at gmail.com> wrote:
>
> Fair enough, I think you may be right. Given that this is a binary
> property of the selection state, how about a a Boolean
> `selectionBackwards` property?


FWIW, WebKit's implementation has a boolean isBaseFirst member function
which checks the value of a boolean m_baseIsFirst member variable although
they aren't exposed to scripts.

- Ryosuke
Received on Thursday, 13 January 2011 08:56:27 UTC

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