« Return to Thread: Re: Reversing text for i18n

Re: Reversing text for i18n

by Gavin Sharp :: Rate this Message:

Reply to Author | View in Thread

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
_______________________________________________
dev-i18n mailing list
dev-i18n@...
https://lists.mozilla.org/listinfo/dev-i18n

 « Return to Thread: Re: Reversing text for i18n