I have a MathML widget working in khtml now. Currently all the text between
the tags gets passed to the KMathMLView widget, which parses
it using the QDom-classes. There are a couple major short-comings here: 1)
style settings aren't handled and 2) the nodes aren't externally accessable
(e.g. via javascript).
How should I make the MathML nodes javascript accessable?
One possibility would be to use the ElementImpl class as a parent for the
(currently internal) KMathML node classes so that each child node is made a
part of the khtml DOM tree, but then do I need to create both XML & HTML
element implementations? So far, I've created HTMLMathElement* and
RenderMath classes, added ID_MATH the tokens list, and edited htmlparser.cpp
and htmltokenizer.cpp to handle the