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: Håkon Wium Lie <howcome@opera.com>
Date: Sat, 5 Jun 2010 22:00:43 +0200
Message-ID: <19466.44267.920272.97888@gargle.gargle.HOWL>
To: "MURATA Makoto (FAMILY Given)" <eb2m-mrt@asahi-net.or.jp>
Cc: www-style@w3.org
Also sprach MURATA Makoto:

 > We are stuck.
 > 
 > Pseudo-selectors based on values specified in documents or stylesheets 
 > do not allow reasonable fallbacks from vertical writing to horizontal writing.

I don't understand how you reached this conclusion. Could you
illustrate with an example?

 > Pseudo-selectors based on the writing mode chosen by the user or browser
 > may cause circular interdependencies or conflicts.  Some people are thus strongly 
 > against.

People are against tying a pseudo-selector to the value a property on
the element itself. But this is only one of several ways to
communicate user preferences. Another way for the user to express
preference is to select an alternate style sheet which could have a
different writing-mode in it.

 > New properties for specifying borders, etc. in relative to the writing direction 
 > chosen by the user or browser do have some implementation difficulties.  Some 
 > people are thus strongly against.

Yes. 

 > Recent implementations of EPUB in Japan have started to abuse
 > existing margin, etc. properties by making them relative to the
 > writing direction chosen by the user or viewer. I know that the CSS
 > WG has decided not to change the current definition of these
 > properties.

Right.

 > As far as vertical writing is concerned, CSS is likely to fail, and
 > I will have to try to persuade IDPF not to use CSS for vertical
 > writing.

I think we can find acceptable solutions based on the pseudo-classes.

Cheers,

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Saturday, 5 June 2010 20:36:00 GMT

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