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

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