[whatwg] Control over selection direction

Ryosuke Niwa rniwa at webkit.org
Thu Jan 13 08:56:27 PST 2011


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



More information about the whatwg mailing list