- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 5 Sep 2013 00:07:43 +0000 (UTC)
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: whatwg@lists.whatwg.org
On Fri, 12 Jul 2013, Boris Zbarsky wrote: > 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)? As far as I can tell, browsers keep treating it as an inline-block box in those cases. Do you have a specific case in mind that isn't handled that way? -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 5 September 2013 00:08:06 UTC