SummerOfCode/2012/DynamicMathML: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 22: Line 22:


==Weekly updates==
==Weekly updates==
===18/05 - 25/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].
It seems that there are 3 options for tooltip implementation:
*First option is implementing it using tooltip implementation in [http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#3008 browser.js] (and also mirrored [http://mxr.mozilla.org/mozilla-central/source/embedding/browser/webBrowser/nsDocShellTreeOwner.cpp#1022 here]). The problem with this option may be that this part of the code is marked as temporary, and I don't know if I can modify it. Now I am trying to contact UI team to find it out.
*Second option is about modifying mathml.css file, similar to [http://www.w3.org/TR/mathml-for-css/#d2e2482 this] implementation (maction is in the bottom). The advantage of this implementation is that it allows to implement both text and MathML messages, but the disadvantage is that we will get the message in the top right corner instead of placing it near the object.
*Finally, the third option is implementing tooltip using XUL tooltip implementation. I haven't quite considered this option, so I just leave it for now.
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.
14

edits