In my rendering code I have:

    if (localName() == "mfrac")
        object = new (arena) RenderFraction(this);

Is that better or worse than using MathMLNames::whatever for comparison
for element names?

In these contexts, I know that the element is a MathML element already.

-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to