Re: [css21] height: [percent]

Ignacio Javier wrote:
> Then percentages are never considered, neither in the spec or in "quirks 
> modes", "in a later else", as percentage of intrinsic dimensions?

That's correct.

> If 'height' has a computed value of 'auto' and 'width' also has a 
> computed value of 'auto', the element's intrinsic height is the used 
> value of 'height', it has one.

Right.  On which note, it's not so clear what this is saying....

> Percentage intrinsic heights are evaluated with respect to the 
> containing block's height, if that height is specified explicitly, or if 
> the replaced element is absolutely positioned. If neither of these 
> conditions is met, then percentage values on such replaced elements 
> can't be resolved and such elements are assumed to have no intrinsic 
> height.

That's for intrinsic heights, not for percentage values of the "height" property.

-Boris

Received on Monday, 6 March 2006 16:24:36 UTC