# [Webkit-unassigned] [Bug 78617] MathML internals - embellished operators, getBase() accessor functions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 14 11:14:42 PST 2012

https://bugs.webkit.org/show_bug.cgi?id=78617

--- Comment #3 from Frédéric Wang <fred.wang at free.fr>  2012-02-14 11:14:42 PST ---
I don't know the webkit code, but here are some comments.

Be sure to consider all the elements that can be embellished operators:
http://www.w3.org/TR/MathML/chapter3.html#id.3.2.5.7.3

Some reftests for embellished op (I think Webkit supports reftest?):
http://devel.mathjax.org/testing/testsuite/MathMLToDisplay/Topics/EmbellishedOp/

In Mozilla, instead of using functions, we store pointers on the MathML frames (pointing to the core frame). Actually, we store a structure with such a pointer and other info relevant to operator stretching. I don't know why that was done that way, but the stretchy data may depend on several elements/attributes in the MathML tree, so it may be expensive to have to compute them if they are used several times. I don't know what is the best for Webkit.

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.