https://bugzilla.wikimedia.org/show_bug.cgi?id=30630

--- Comment #15 from Brion Vibber <[email protected]> 2011-08-31 23:42:59 UTC 
---
The trick I think is that we need to make the _parent block_ LTR if all it
contains is one (just one? what about one or more?) LTR math elements.

The JS on fa.wikipedia does this by checking all math bits (img.tex etc) to see
if they have a <p> or <dd> parent that doesn't seem to have other stuff in it,
and then adjusting directionality there. This may be doable through CSS instead
(cleaner, doesn't require postprocessing) but ... I think it would require
additional stuff we don't have.


This may really be a more hairy problem, akin to detecting that only LTR text
is present in some paragraph and declaring it to be LTR-primary instead of
RTL-primary. Urk!

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to