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

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

From: Ehsan Akhgari <ehsan@mozilla.com>
Date: Wed, 10 Aug 2011 19:31:34 -0400
Message-ID: <4E4314D6.7090002@mozilla.com>
On 11-06-27 5:30 PM, Ryosuke Niwa wrote:
> 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.

This part looks good to me, too.  What was the consensus on 
backward/forward though?  (I don't know if bidi vertical text even makes 
sense...)

Ehsan
Received on Wednesday, 10 August 2011 16:31:34 UTC

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