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

Re: [css3-text-layout] New editor's draft - margin-before/after/start/end etc.

From: MURATA Makoto (FAMILY Given) <eb2m-mrt@asahi-net.or.jp>
Date: Fri, 04 Jun 2010 22:18:27 +0900
To: www-style@w3.org
Message-Id: <20100604221826.958B.B794FC04@asahi-net.or.jp>
HÃ¥kon,

Your modified :ttb proposal (not the modified :lang proposal) addresses
the requirement to a certain extent. 

> So, the pseudo-class selectors would mean:
> 
>   :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

However, I am not sure if I like this proposal.

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, I think :rtl and :ttb are just too different.  The former is
based on the @dir attribute, while the latter is not.   They should 
be separated.

Third, are there any requirements for :rtl?  Isn't [dir="rtl"] 
good enough?

Fourth, 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.  

Fifth, I have no ideas about where in the CSS3 family of specifications 
the :ttb psuedo selector will be introduced.

Sixth, *-before, etc. is already described in a editor's draft.  
It may be sketchy, but it is in the draft.  But :ttb is just an idea.

Cheers,
Makoto
Received on Friday, 4 June 2010 13:19:04 GMT

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