[whatwg] Alignment of empty buttons

Boris Zbarsky bzbarsky at MIT.EDU
Fri Jul 12 13:12:03 PDT 2013


On 7/12/13 4:08 PM, Ian Hickson wrote:
> The HTML spec is pretty explicit about it not being:
>
> # When the button binding applies to a button element, the element is
> # expected to render as an 'inline-block' box rendered as a button whose
> # contents are the contents of the element.
>   -- http://www.whatwg.org/specs/web-apps/current-work/#the-button-element-0

Hmm.  Is that compatible with the sizing of absolutely positioned 
buttons with "left:0; right: 0"?

For that matter, what happens to buttons if their display style is 
changed (e.g. to block)?

-Boris




More information about the whatwg mailing list