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

[whatwg] getSelection().modify() in vertical writing modes

From: Alexey Proskuryakov <ap@webkit.org>
Date: Mon, 20 Jun 2011 17:33:30 -0700
Message-ID: <0E23F29F-DD9C-49D9-9173-9836E5CC901B@webkit.org>

15.06.2011, ? 16:13, Ryosuke Niwa ???????(?):

> Now, in horizontal writing modes, 'left' and 'right' are used to move caret
> in visual order (in the sense of bidirectional text) and 'forward' and
> 'backward' are used to move in logical order.  However, swapping the meaning
> of 'character' and 'line' for 'forward' and 'backward' is quite confusing as
> they used to walk DOM in logical order, and didn't depend on how characters
> are presented.

I think that redefining "left" and "right" to mean something different would be much more confusing in the long run. Just like we didn't redefine "left" and "right" for RTL, I don't see why we need to do that for vertical text.

- WBR, Alexey Proskuryakov
Received on Monday, 20 June 2011 17:33:30 UTC

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