<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Update CSS rules in mathml.css to adjust spacing"
href="https://bugs.webkit.org/show_bug.cgi?id=151592#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Update CSS rules in mathml.css to adjust spacing"
href="https://bugs.webkit.org/show_bug.cgi?id=151592">bug 151592</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>@Alex: I've done the proposed adjustment on your MathML branch, except that I kept "-webkit-line-box-contain: glyphs replaced;". Indeed, removing that one causes excessive ascent/descent and breaks tests. Upgrading the math test font to a version that has the USE_TYPO_METRICS flag gives a better result (see <a href="https://github.com/mrobinson/webkitgtk-test-fonts/issues/6">https://github.com/mrobinson/webkitgtk-test-fonts/issues/6</a>) ; but using logical metrics still gives slightly taller ascent/descent than ink metrics [1]. So I suspect we will have to keep it for now and consider that again when the MathML layout code can really distinguish between logical/ink metrics. We will probably have to do something similar to Gecko (which does not support -webkit-line-box-contain) if we want to port the MathML code to Blink.
[1] <a href="http://www.mathml-association.org/MathMLinHTML5/S3.html#SS1.SSS1">http://www.mathml-association.org/MathMLinHTML5/S3.html#SS1.SSS1</a></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>