[whatwg] Alignment of empty buttons

Ian Hickson ian at hixie.ch
Thu Sep 5 13:47:12 PDT 2013


On Thu, 5 Sep 2013, Boris Zbarsky wrote:
> On 9/4/13 8:07 PM, Ian Hickson wrote:
> > As far as I can tell, browsers keep treating it as an inline-block box 
> > in those cases.
> 
> OK, that works, I guess.  That does mean that buttons are a replaced 
> element, clearly, though...  Something needs to spell that out.

In what sense?

The definition of "replaced element" here:

   http://www.w3.org/TR/CSS2/conform.html#replaced-element

...doesn't seem to apply to <button>. The rendering of <button> is very 
much in CSS' scope, no?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list