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

Re: [whatwg] Alignment of empty buttons

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 03 May 2013 21:14:46 -0400
Message-ID: <51846106.2060403@mit.edu>
To: whatwg@lists.whatwg.org
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
Received on Saturday, 4 May 2013 01:15:16 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:59 UTC