What is the issue with the HTML Standard?
https://html.spec.whatwg.org/multipage/rendering.html#anonymous-button-content-box
If the box does not overflow in the horizontal axis, then it is centered horizontally.
I would then expect
<!DOCTYPE html>
<button style="width: 100px; text-align: left">foo<br>barbaz</button>
But Gecko, Blink & WebKit agree it looks like this:
So the only centering in the inline axis is because of text-align: center in the UA stylesheet.
What is the issue with the HTML Standard?
https://html.spec.whatwg.org/multipage/rendering.html#anonymous-button-content-box
I would then expect
But Gecko, Blink & WebKit agree it looks like this:
So the only centering in the inline axis is because of
text-align: centerin the UA stylesheet.