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

[whatwg] Control over selection direction

From: Marijn Haverbeke <marijnh@gmail.com>
Date: Sat, 15 Jan 2011 00:09:00 +0100
Message-ID: <AANLkTimD-fk=0YxsHK2ikm4y+q3Edm=OzLOawNAw0mZ+@mail.gmail.com>
> If you accept that other selection APIs can't be used in textarea / input,
> then why would you expect your property/method to specify direction can be?

Because I proposed it as *only* working for input fields.

> ?Specifically that this direction property/method works for textarea / input
> and other properties/method doesn't is very inconsistent,

This is exactly the situation we have now with the selectionStart and
selectionEnd properties. I'm merely working in the spirit of the
existing situation.
Received on Friday, 14 January 2011 15:09:00 UTC

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