[whatwg] getSelection().modify() in vertical writing modes
rniwa at webkit.org
Wed Aug 10 16:41:22 PDT 2011
On Wed, Aug 10, 2011 at 4:31 PM, Ehsan Akhgari <ehsan at mozilla.com> wrote:
> 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
>> 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...)
I think forward and backward should move caret/selection logically. i.e.
forward, character moves vertically in vertical writing mode and forward,
line moves horizontally in vertical writing mode.
More information about the whatwg