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, 27 Jun 2011 14:39:29 -0700
Message-ID: <4B84D5C6-5ED2-42F8-8ED7-3B80EF569147@webkit.org>

27.06.2011, ? 14:30, Ryosuke Niwa ???????(?):

> FYI, I also posted this question on public-html-ig-jp at w3.org, and I got exactly one response from Koji, who was supportive of my proposal.
> Given that, I'm inclined to say that the consensus is to modify('move', 'left'/'right', 'character') should move the caret in the direction of line-left and line-right and modify('move', 'left'/'right', 'line') should move the caret in the block direction (left for backward direction and right for forward direction).  As Koji mentioned, it matches native-speaker's intuition and it matches the concept of left/right in text-align property.

I do not think that we should ignore people who are not native speakers and are writing JavaScript code that works with vertical text. For most people, left is left, and up is up. There is no reason to make it more complicated than it is already.

- WBR, Alexey Proskuryakov
Received on Monday, 27 June 2011 14:39:29 UTC

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