[Webkit-unassigned] [Bug 185131] button text not centered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 1 00:28:11 PDT 2018


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

David Millar <davmillar at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davmillar at gmail.com

--- Comment #1 from David Millar <davmillar at gmail.com> ---
Created attachment 339192

  --> https://bugs.webkit.org/attachment.cgi?id=339192&action=review

Screengrab from Chrome 65 on Linux

I believe this is expected behavior, as shown in the attached screengrab from Chrome 65 on Fedora Linux. When the text horizontally overflows the bounds of the element, text-align is thrown out the window.

In your case, I'm guessing the extra padding on iOS buttons caused you to run into the issue sooner than on desktop browsers. You should be able to work around that by explicitly removing the padding from your button.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180501/61c383c4/attachment.html>


More information about the webkit-unassigned mailing list