Revert "Use display: inline-block instead of unicode-bidi"

I think this change causes too many issues on non-LTR wikis
(see the associated tasks) to be acceptable in the current form.

Maybe it should be redone to apply to RTL text only if it's
worth it there (apologies, but I don't quite understand the issue).

This reverts commit e9c1521fca
and commit 59ef3c8678 (which was
the previous attempt to fix it and caused different issues).

Bug: T108493
Bug: T110057
Change-Id: I205400c59a342dcc4cdf89791bc1c761805cd2a8
This commit is contained in:
Bartosz Dziewoński 2015-08-24 18:48:15 +00:00 committed by Amire80
parent d0b189cff0
commit 04ac55ed52

View file

@ -6,12 +6,11 @@
user-select: none;
}
/* Make sure the brackets and the numbers aren't jumbled after LTR words in RTL wikis */
/* Isolation to fix references in case of RTL words at the end of a reference */
sup.reference {
/* Ideally unicode-bidi: isolate should be used here,
however due Firefox bug https://bugzilla.mozilla.org/1185987
we use inline-block to replicate the effect */
display: inline-block;
unicode-bidi: -moz-isolate;
unicode-bidi: -webkit-isolate;
unicode-bidi: isolate;
}
/* Highlight clicked reference in blue to help navigation */