Re: Reversing text for i18n

Gavin Sharp <[email protected]> Wed, 31 Jan 2007 13:37:10 -0500
Newsgroups gmane.comp.mozilla.internationalization
Message-ID <[email protected]>
Axel Hecht wrote:
> Looking at the source via
> http://mxr.mozilla.org/mozilla/search?string=locale.dir, you should
> use the chromedir attribute. Sadly, I don't see that documented
> anywhere, so you should take a look at examples in the source.

As far as I know, there's nothing special layout-wise about the
"chromedir" attribute, so simply adding it to an element won't actually
do anything. It just happens to be the convention for what
browser/toolkit themes should use to control direction-dependent styling
such as text-align, padding, and especially "direction" (see e.g.
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/themes/winstripe/browser/browser.css&rev=1.52#873).

Gavin