Re: [css3-text-layout] margin-before/after/start/end etc. and :ttb pseudo-classes

>  > Murata-san ? I think ? might be satisfied if there was a way to say
>  > 'when the user's preference is set to vertical text, the following
>  > rules apply'.

Yes, such a way makes me happier than now.

>  > So is it reasonable to separate :ltr and :rtl to be a shorthand for
>  > inherited [dir] but to explicitly define :ttb as something entirely
>  > different?
> 
> I think so. I previously suggested:
> 
>   :lrt   horizontal writing is supported and @dir has been set to 'lrt'
>   :rtl   horizontal writing is supported and @dir has been set to 'rtl'
>   :ttb   vertial writing is supported

First, what is needed is  relativity based on the principal writing mode
chosen by the browser or user rather than relativity based on the
capability of the browser.  Even if a browser supports vertical writing, 
the pseudo selector should not apply when the user chooses 
horizontal writing as the principal writing mode (the writing mode of the body 
element)

Second, Japanese and Taiwanese users will need a pseudo selector 
for horizontal writing.  It has nothing to do with the @dir attribute 
but it should apply when the browser or user chooses "horizontal" 
as the principal writing mode.  :lrt is insufficient, since it is tied 
to @dir.


Cheers,
Makoto

Received on Saturday, 5 June 2010 23:21:09 UTC