Re: Proposal: content-vertical-alignment

> 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 UTC