SummerOfCode/2012/DynamicMathML: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 25: Line 25:


==Weekly updates==
==Weekly updates==
===18/05 - 25/05===
===21/05 - 27/05===


This week I've been doing two things. I started to work on MathML tooltip implementation and started to work on [https://bugzilla.mozilla.org/show_bug.cgi?id=749044 bug 749044].  
This week I've been doing two things. I started to work on MathML tooltip implementation and started to work on [https://bugzilla.mozilla.org/show_bug.cgi?id=749044 bug 749044].  
Line 35: Line 35:


Along with the tooltip, I am also working with bug 749044, which is a regression from bug 739556, where I fixed an issue related to maction selection attribute. By MathML REC it shouldn't be taken into account when actiontype="statusline" or "tooltip". This was done in the patch, but the behavior of the unknown actiontype was implemented improperly. There was some discussion in the MathML list, and though there was no answer from MathML WG yet, we think that selection attribute should be considered by default.
Along with the tooltip, I am also working with bug 749044, which is a regression from bug 739556, where I fixed an issue related to maction selection attribute. By MathML REC it shouldn't be taken into account when actiontype="statusline" or "tooltip". This was done in the patch, but the behavior of the unknown actiontype was implemented improperly. There was some discussion in the MathML list, and though there was no answer from MathML WG yet, we think that selection attribute should be considered by default.
===28/05 - 03/06===
This week I was continuing my work on the MathML tooltip implementation and on [https://bugzilla.mozilla.org/show_bug.cgi?id=749044 bug 749044].
Investigation of the HTML tooltip implementation revealed that MathML tooltip can be implemented in browser.js simply by attaching the <math> element to the <tooltip> element that is shown. This will make code is browser.js a bit more complex, but I hope that UI reviewers will accept the code. Otherwise, I'll have to switch to other options, listed in my previous update.
I uploaded the patch to [https://bugzilla.mozilla.org/show_bug.cgi?id=749044 bug 749044] and now I'm waiting for a review. List of changes:
*Selection attribute on <maction> is now considered by default, i.e. when actiontype is unknown.
*MathML error is now generated when there is no actiontype attribute in <maction> element.
*MathML error is now generated when <maction> selection attribute is out of range (except in cases when actiontype attribute allows to ignore selection, e.g. statusline or tooltip).
*Fixed a bug when <maction> element could never throw a MathML error.
Also I updated my project summary, to give out some more information about the project. Next week I will continue to work on tooltip implementation, and if everything goes well, next week I could also work on MathML tooltip demo pages as well.
14

edits