[Webkit-unassigned] [Bug 119043] Large stretch size error for MathML operators

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 25 13:49:24 PST 2013


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





--- Comment #5 from Frédéric Wang <fred.wang at free.fr>  2013-11-25 13:47:52 PST ---
I just looked at the stretching code and I think:

- The gOperatorExpansion seems to cause the error. It basically adds 20% of the target size, so for a target of height 300px in the first testcase, that's 60px! It seems that the delimiter size should match the target size, or add a small delta that depends only on the font-size, not the target size.

- I'm not sure I understand the alignment in RenderMathMLOperator::firstLineBaseline(). In my opinion, the target size should equal to a height + a depth (using the terminology of the mspace element) and this should be used to determine the alignment.

- Also, we may want to distinguish the symmetric / non symmetric cases (bug 124827).

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


More information about the webkit-unassigned mailing list