Closed GoogleCodeExporter closed 9 years ago
Hmm...I didn't think about that. It will be fixed today. BTW, it's made that
way
because you might have an LTR text with text-align:right so that should be
swapped too.
Original comment by balazs.endresz
on 25 Jun 2009 at 9:31
Ah, ok. I see what you mean.
It looks like the current logic is:
to rtl OR from rtl results in swap text-align
So the logic should be something like:
ltr to ltr OR rtl to rtl results in no swap
ltr to rlt OR rtl to ltr results in swap text-align
Original comment by monodist...@gmail.com
on 25 Jun 2009 at 10:13
Exactly! But there's another twist in it because if you use the `fromOriginal`
option
the source language will be always the same, so the current language must be
stored
in order to determine if it's ltr or rtl. Now I decided to use $.data for that
as it
seems to be much faster than $.attr, so the "lang" attribute will be unchanged
unless
you use the `setLangAttr` option.
Fixed in 1.3.9.
Original comment by balazs.endresz
on 25 Jun 2009 at 5:25
Original issue reported on code.google.com by
monodist...@gmail.com
on 25 Jun 2009 at 8:50