<html>
<head>
<base href="https://bugs.webkit.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:fred.wang@free.fr" title="Frédéric Wang (:fredw) <fred.wang@free.fr>"> <span class="fn">Frédéric Wang (:fredw)</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - MathML: Extra left space for arrows inside <mo>"
href="https://bugs.webkit.org/show_bug.cgi?id=170272">bug 170272</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>alex@igalia.com, rego@igalia.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - MathML: Extra left space for arrows inside <mo>"
href="https://bugs.webkit.org/show_bug.cgi?id=170272#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - MathML: Extra left space for arrows inside <mo>"
href="https://bugs.webkit.org/show_bug.cgi?id=170272">bug 170272</a>
from <span class="vcard"><a class="email" href="mailto:fred.wang@free.fr" title="Frédéric Wang (:fredw) <fred.wang@free.fr>"> <span class="fn">Frédéric Wang (:fredw)</span></a>
</span></b>
<pre>(In reply to Minsheng Liu from <a href="show_bug.cgi?id=170272#c4">comment #4</a>)
<span class="quote">> > auto contentWidth = width() - leadingSpace - trailingSpace();
> > operatorTopLeft.move(-(m_mathOperator.width() - contentWidth) / 2, 0);</span >
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. <a href="https://bug-72828-attachments.webkit.org/attachment.cgi?id=229368">https://bug-72828-attachments.webkit.org/attachment.cgi?id=229368</a>).
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>