The patch in bug 99620 will just check the position of the operators in the row to determine whether it is infix, prefix or postfix. More advanced rules are: http://www.w3.org/TR/MathML/chapter3.html#presm.formdefval Gecko bug is: https://bugzilla.mozilla.org/show_bug.cgi?id=562460