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

Also sprach Andrew Fedoniouk:

 > CSSOM/RTL discussion reminded me one question that I wanted to ask:
 > Are we going to "virtualise" coordinate based DOM events also
 > with respect of these -start/end properties?
 > So MouseEvent.clientX/Y will get also
 > MouseEvent.clientStart/???? logical, direction dependent cousins?
 > 
 > Sorry in advance if you think that the question is out of scope of the 
 > discussion.

I hope we all have a sense of humor, even in culturally sensive topics :-)

 > Something tells me that solution that leads to combinatorial
 > explosion of properties number in CSS is a "solution
 > of bad quality" in technical terms.

Yes, I'm concerned as well. I'd like to see an overview of all the
direction-dependent properties/aliases/values that one plans to
propose. For example, will there be aliases for the
top/right/bottom/left properties? 

In general, I do not believe one can simply switch writing direction
and reuse the same style sheet; there are more properties that
should be adjusted when the writing direction is changed. As such, I
believe your :rtl, :lrt, :ttb proposal has the potential for producing
better typography as you can add more declarations. E.g.,

p:rtl {
  font-family: ...;
  margin-right: ...;
}

p:rtl em {
  letter-spacing: ...;
}

 > Can we try to solve the problem some other way?
 > E.g. by introducing something like single 'orientation' property
 > instead of the whole bunch?

What do you have in mind?

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Thursday, 3 June 2010 17:35:39 UTC