W3C home > Mailing lists > Public > www-style@w3.org > March 2006

Re: [css21] height: [percent]

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Mon, 06 Mar 2006 10:24:16 -0600
Message-ID: <440C6230.2000506@mit.edu>
To: Ignacio Javier <ijavier@efenet.com>
CC: www-style@w3.org

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.

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:23 UTC