* (bug 725) Let dir="ltr" attribute work again in MonoBook
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 29 Apr 2005 08:26:56 +0000 (08:26 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 29 Apr 2005 08:26:56 +0000 (08:26 +0000)
By CSS2's rules, the 'body * { direction: rtl; }' actually overrides any
explicit dir="ltr" attribute on any element in the body. Letting the value
just inherit from body should work fine (tested briefly in Safari 1.3,
Firefox 1.0.3, and IE 6.0 on XP SP2).

skins/monobook/rtl.css

index fe22ac2..c7b3ae5 100644 (file)
@@ -22,8 +22,7 @@ To test:
 * etc
 
 */
-body,
-body * {
+body {
     direction: rtl;
 /*    unicode-bidi: bidi-override;*/
     unicode-bidi: embed;