<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rob@robbrackett.com" title="Rob Brackett <rob@robbrackett.com>"> <span class="fn">Rob Brackett</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Subpixel layout: Inline-block is offset from dominant baseline with em based padding"
href="https://bugs.webkit.org/show_bug.cgi?id=136332">bug 136332</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>rob@robbrackett.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Subpixel layout: Inline-block is offset from dominant baseline with em based padding"
href="https://bugs.webkit.org/show_bug.cgi?id=136332#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Subpixel layout: Inline-block is offset from dominant baseline with em based padding"
href="https://bugs.webkit.org/show_bug.cgi?id=136332">bug 136332</a>
from <span class="vcard"><a class="email" href="mailto:rob@robbrackett.com" title="Rob Brackett <rob@robbrackett.com>"> <span class="fn">Rob Brackett</span></a>
</span></b>
<pre>I’ve just run into this issue myself and spent quite a long time trying to get a few elements aligned.
Additionally, I noticed that `<button>` have a different offset from the dominant baseline than other inline-block elements (e.g. a `<span>`), even when they have `-webkit-appearance: none` set. Giving a `<span>` `display: inline-flex` makes it behave like the `<button>`, but still doesn’t fix the overall issue.
FWIW, I initially encountered this issue in a flexbox that contained a mix of spans and buttons, so it’s not just an issue for normal inline layout. I can attach my reduced test-case with buttons if it’s helpful.</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>