SummerOfCode/2012/DynamicMathML: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
*To write reftests to compare dynamically generated MathML / static MathML.
*To write reftests to compare dynamically generated MathML / static MathML.


==Work Done during Application Period and Community Bounding Period==
==Work done before the coding period==


*maction statusline syntax was changed to follow MathML specification. [[https://developer.mozilla.org/en/MathML/Element/maction#Gecko-specific_notes Gecko-specific notes]][[https://bugzilla.mozilla.org/show_bug.cgi?id=729924 bug 729924]]
*maction statusline syntax was changed to follow MathML specification. [[https://developer.mozilla.org/en/MathML/Element/maction#Gecko-specific_notes Gecko-specific notes]][[https://bugzilla.mozilla.org/show_bug.cgi?id=729924 bug 729924]]

Revision as of 21:27, 27 May 2012

Project Summary

The ability for Web authors to make dynamic pages is important and was requested by many users. In the case of MathML it allows such things as writing interactive pages, i.e. math quiz or similar. For the simplest interactions, the MathML specification provides the maction element, which is partially implemented in Mozilla's MathML engine.

However, Mozilla's <maction> implementation has several bugs/spec violations and some features asked by users such as the tooltip actiontype are not still implemented. Similarly, the rendering of MathML formulas created by Javascript is not always updated correctly. This is problematic, for example to render the MathML code generated by the MathJax library.

MathJax already has a complete implementation of maction, but many users reported difficulties to use MathJax to render dynamically generated math expressions. In my project, I intend to develop a full maction support in Mozilla MathML and fix known bugs, related with maction and Javascript.

Project Goals

  • To implement the "tooltip" actiontype. "Tooltip" actiontype provides the ability to display a tooltip when the cursor is pointed over the expression.
  • To fix known maction bugs, such as 734729, 739556, 700440 etc.
  • To verify that Javascript works well with MathML, report and fix related bugs (for example, 657279).
  • To rewrite MathML demo pages using REC syntax (this should be done after implementing "tooltip"). Currently, we have demo pages, but they use CSS and Javascript instead of maction.
  • To write reftests to compare dynamically generated MathML / static MathML.

Work done before the coding period

  • maction statusline syntax was changed to follow MathML specification. [Gecko-specific notes][bug 729924]
  • Fixed the bug related to maction selection attribute. According to MathML spec, it should be taken into account only with actiontype toggle. [bug 739556]
  • Detected and fixed the bug when dynamic change of the maction actiontype attribute didn't work. [bug 745535]

Weekly updates