[Webkit-unassigned] [Bug 148872] Centering text inside a button set to display flex and justify-content: center is impossible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 23 11:20:55 PDT 2015


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

--- Comment #3 from Eric Taylor <erictaylor89 at gmail.com> ---
This bug also effects input elements as well.

Setting display: flex; and justify-content: center; on either element will result in the element not being a flexbox and the inner text aligns left and not centered.

Currently my workaround is to target Safari specifically and set display: -webkit-box; which fixes the issue and I get the expected result.

Safari and iOS are the ONLY browsers I have this issue on. I have tested and I get the expected result from latest:

- Chrome
- Firefox
- IE 10
- Microsoft Edge
- Opera

It would be nice if this could be fixed to match every other browser out there.

P.S. This bug still exists on latest nightly (WebKit r191494).

-- 
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/20151023/820db7aa/attachment.html>


More information about the webkit-unassigned mailing list