- From: Zack Weinberg <zweinberg@mozilla.com>
- Date: Sun, 30 May 2010 13:33:13 -0700
- To: "Andrew Fedoniouk" <news@terrainformatica.com>
- Cc: HĂ„konWiumLie <howcome@opera.com>, <www-style@w3.org>
"Andrew Fedoniouk" <news@terrainformatica.com> wrote: > Are you saying that you know precise algorithm that allows > you to detect display:ltr and display:ttb runs of say Chinese > characters? If you are unfamiliar with UAX#9, I doubt this discussion is going anywhere useful. But at a high level, the details of the algorithm are irrelevant. There must be *some* algorithm, or the characters could not be drawn at all! My position is just that styling based on writing direction should observe the result of that algorithm, rather than just one of its inputs (@dir). > If "yes" then what would be such split on the phrase: > "I live in Sheraton hotel" where only "Sheraton" is written > in Latin? And what exactly you want to do with the result? UAX#9 specifies the behavior in this case. > Selector like "::rtl p" tells me that you have > <p>aleph bet alpha beta</p> placed in some virtual container that > gets somehow RTL directionality automatically? How exactly? UAX#9. > And why it is not the <p> element itself? Because direction changes do not necessarily line up with element boundaries. zw
Received on Sunday, 30 May 2010 20:33:52 UTC