[whatwg] Control over selection direction

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