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

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 UTC