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

Alexey Proskuryakov ap at webkit.org
Mon Jun 20 17:33:30 PDT 2011


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




More information about the whatwg mailing list