[Webkit-unassigned] [Bug 170272] MathML: Extra left space for arrows inside <mo>
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 3 00:43:29 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=170272
Frédéric Wang (:fredw) <fred.wang at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alex at igalia.com,
| |rego at igalia.com
--- Comment #5 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
(In reply to Minsheng Liu from comment #4)
> > auto contentWidth = width() - leadingSpace - trailingSpace();
> > operatorTopLeft.move(-(m_mathOperator.width() - contentWidth) / 2, 0);
Right, I think this makes more sense than the current code (although I don't exactly remember what is the reference point for strechy operator painting). At least, this will be compatible with the current code when lspace=rspace=0 which is the case for accents (see e.g. https://bug-72828-attachments.webkit.org/attachment.cgi?id=229368).
BTW, we have various tests in LayoutTests/mathml/ ; I think you should check whether they won't be broken by your changes (or will need a small rebaseline) and add a new one for the present use case.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170403/86c1ed21/attachment-0001.html>
More information about the webkit-unassigned
mailing list