NEW 123018
Implement MathML bidi
https://bugs.webkit.org/show_bug.cgi?id=123018
Summary Implement MathML bidi
Frédéric Wang (:fredw)
Reported 2013-10-18 06:38:02 PDT
I think just mapping the attribute "dir" (on the math, mstyle, mrow and token elements with the default math@dir=ltr) to the CSS property "direction" will make most constructions work correctly. However, some MathML constructions might need more work. In particular, stretchy operators must be mirrored. There are Open Type MATH features to do that mirroring but using a scale transform is OK in most cases (except for things like clockwise integrals where mirroring changes the semantic). Testcase from the Mozilla bug for the "overall directionality" https://bug534963.bugzilla.mozilla.org/attachment.cgi?id=420334 More advanced testcase: https://developer.mozilla.org/ar/docs/Mozilla_MathML_Project/Start See also the MathML test suite: http://www.w3.org/Math/testsuite/build/main/Topics/BiDi/Complex/Maghreb1-simple.xhtml
Attachments
Frédéric Wang (:fredw)
Comment 1 2013-10-18 06:45:19 PDT
Rationale for why I open this now: MathML bidi is needed on mtext for MathJax error messages in RTL languages. Doing the attribute-to-CSS mapping will help to render the messages correctly when WebKit's Native MathML is used.
Note You need to log in before you can comment on or make changes to this bug.