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

Re: Mixing percentage height and min-height

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 12 Oct 2006 09:41:38 -0500
Message-ID: <452E5422.8060706@mit.edu>
To: Ian Hickson <ian@hixie.ch>
CC: www-style@w3.org

Ian Hickson wrote:
> "Using the value ... as", as in, re run the algorithm pretending that the 
> computed value is that. We've updated the spec now to be more explicit, so 
> that it says "These steps do not affect the real computed values of the 
> above properties." after the steps.

Thanks.   That does make things clearer.

>>> No, the height of the containing block is not specified explicitly 
>>> (i.e., it depends on content height), and the element in question is 
>>> not absolutely positioned, so the value computes to 'auto', regardless 
>>> of min-height and max-height.
>> That's not obvious from the spec, really.
> 
> The paragraph you just quoted that I wrote up there is almost literally a 
> quote from the spec.

The difference is that your version has ", regardless of min-height and 
max-height".  Just adding that to the spec, or perhaps more like ", regardless 
of the containing block's min-height or max-height", would be lovely.

-Boris
Received on Thursday, 12 October 2006 14:41:55 GMT

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