[Webkit-unassigned] [Bug 136332] Subpixel layout: Inline-block is offset from dominant baseline with em based padding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 5 20:30:43 PDT 2016


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

Rob Brackett <rob at robbrackett.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rob at robbrackett.com

--- Comment #5 from Rob Brackett <rob at robbrackett.com> ---
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.

-- 
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/20161006/066feae4/attachment.html>


More information about the webkit-unassigned mailing list