|
|
|
My experience after some hours of Firefox MathML testing:
My first try, was to give some MathML element a new style property(e.g. changed the text color to green) Then I tried to use the MathML DOM attribute mathElementStyle which is only a string. After that I tried whether event handling for MathML elements works, This test also failed. All this tests were done with FireFox 2.0 on Mac, FireFox 3 Beta 5 on Mac. As it seems there is a lot of work to do for the Browser developers till we can Michael Just out of curiosity, I tried mathbackground...
And it can be read and written to! The attached file, mml-bg-set.xhtml shows a demo. Now we need something with the mouseover (on the containing span?) and the location of the element under the mouse. happy paul The attached file shows that it is possible to find out over which element the mouse
currently is. Just move the mouse over somepart of the formula and you will receive an alert saying which object caused the event. There is still a test needed to check readability of the target element. Michael The file mml-subtermSelection.xhtml shows a first try at subterm highlighting.
Not perfect yet. Michael Very good start Michael!
We're on good tracks now. Although there seems to be a few bugs (in particular the + that doesn't get highlighted) we should get a few other example running, probably starting with something generated by ActiveMath but cleaned up after that. paul Yet another attempt.
Color is light-gray. For me the integral on the left cannot be rolloverred whereas the integral on the right can, thanks to the mstyle around (which has broken the height though). paul This attempt (mml-subtermSelection2-still-some-missing.xhtml) now has sub-terms which still show lack of rollover effects.
paul |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
All this also needs proper mouse-events to be caught.
paul