Follow up to r89419:

Per Brion's comment on Code Review, a generically named ltr class is created and used to reduce the number of rules
This commit is contained in:
Huji 2011-06-04 14:33:01 +00:00
parent 7459814ff1
commit 8a074cc50d
2 changed files with 3 additions and 15 deletions

View file

@ -146,7 +146,7 @@ class SpecialVersion extends SpecialPage {
foreach( $software as $name => $version ) {
$out .= "<tr>
<td>" . $name . "</td>
<td>" . $version . "</td>
<td class=\"ltr\">" . $version . "</td>
</tr>\n";
}

View file

@ -709,20 +709,8 @@ th.headerSortDown {
background-image: url(images/sort_down.gif);
}
/* Special:Version */
#sv-software td {
/* version numbers are always ltr (and otherwise an RLE can be inserted) */
/* @noflip */
direction: ltr;
}
/* LTR content in RTL layout, e.g. SQL queries inside DB error messages */
div.ltr {
/* @noflip */
direction: ltr;
}
span.ltr {
/* LTR content in RTL layout */
.ltr {
/* @noflip */
direction: ltr;
unicode-bidi: embed;