- From: Håkon Wium Lie <howcome@opera.com>
- Date: Thu, 3 Jun 2010 19:34:59 +0200
- To: "Andrew Fedoniouk" <news@terrainformatica.com>
- Cc: "www-style list" <www-style@w3.org>
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