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

[whatwg] Control over selection direction

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Fri, 14 Jan 2011 13:06:09 -0800
Message-ID: <AANLkTi=+dC21pYYU32z_b6vg0ZTRNoFsUAUirAY2fyz8@mail.gmail.com>
On Fri, Jan 14, 2011 at 11:42 AM, Marijn Haverbeke <marijnh at gmail.com>wrote:
>
> That would work for me, however, it'd be backwards-incompatible -- not
> in a critical way, but probably enough to break a few pieces of code.
> Also, I assume there is a reason that textarea/textinput content is
> not 'officially' part of the DOM, and that separate
> selection-management functionality has been implemented for it. This
> might be a *much* bigger can of worms than the simple change I
> proposed.


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?
 Specifically that this direction property/method works for textarea / input
and other properties/method doesn't is very inconsistent, and very unlikely
to be adopted by browser vendors.  (I for one will not support such an
interface if proposed in the WebKit community).

- Ryosuke
Received on Friday, 14 January 2011 13:06:09 UTC

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