Per Brion's comment on Code Review, a generically named ltr class is created and used to reduce the number of rules
foreach( $software as $name => $version ) {
$out .= "<tr>
<td>" . $name . "</td>
- <td>" . $version . "</td>
+ <td class=\"ltr\">" . $version . "</td>
</tr>\n";
}
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;