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

Ehsan Akhgari ehsan at mozilla.com
Wed Aug 10 16:31:34 PDT 2011


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


More information about the whatwg mailing list