W3C home > Mailing lists > Public > www-style@w3.org > June 2005

Re: Proposal: content-vertical-alignment

From: David Woolley <david@djwhome.demon.co.uk>
Date: Fri, 17 Jun 2005 21:08:51 +0100 (BST)
Message-Id: <200506172008.j5HK8pA10996@djwhome.demon.co.uk>
To: www-style@w3.org

> padding-top:auto;
> padding-bottom:auto;

Apart from the point already made about borders, this would make the
rules for resolving multiple autos and overconstrained cases even
more complex than they already are.

Looking at the current rules, it seems fairly clear that there was
a policy decision that either the top or the bottom of a box must
be fixed before rendering of the contents starts.  Otherwise 
having both top and bottom margins auto would have centered 
non-replaced content when the height was auto.  As it is, the rules
go out of the way to ensure that this only happens when the height
is known, either explicitly or because it is the intrinsic height
of a replaced element.
Received on Friday, 17 June 2005 20:27:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:37 GMT