W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

Re: [whatwg] Alignment of empty buttons

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 12 Jul 2013 16:12:03 -0400
Message-ID: <51E06313.8030105@mit.edu>
To: Ian Hickson <ian@hixie.ch>
Cc: whatwg@lists.whatwg.org
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
Received on Friday, 12 July 2013 20:12:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC