W3C home > Mailing lists > Public > www-style@w3.org > June 2010

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

From: MURATA Makoto (FAMILY Given) <eb2m-mrt@asahi-net.or.jp>
Date: Sun, 06 Jun 2010 08:20:01 +0900
To: www-style@w3.org
Message-Id: <20100606082000.95AD.B794FC04@asahi-net.or.jp>

>  > 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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:28 GMT