[whatwg] Alignment of empty buttons

Boris Zbarsky bzbarsky at MIT.EDU
Fri May 3 18:14:46 PDT 2013


On 5/3/13 7:07 PM, Christian Biesinger wrote:
> fantasai pointed out that CSS does specify this:
> "If the box does not have a baseline, align the bottom margin edge
> with the parent's baseline."
> (http://www.w3.org/TR/CSS2/visudet.html#propdef-vertical-align)

Yes, but that _if_ the box does not have a baseline.  CSS does not 
specify what replaced elements do or do not have baselines (and it's not 
completely clear even whether <button> is a replaced elements)...

-Boris



More information about the whatwg mailing list