- From: Alastair Campbell <ac@alastc.com>
- Date: Fri, 13 Oct 2006 16:05:39 +0100
- To: Boris Zbarsky <bzbarsky@mit.edu>
- CC: www-style@w3.org
Boris Zbarsky wrote:
>  .parent { height: 20px; min-height: 100px; }
>  .child { height: 50% }
> 
> and the same markup?  Should the child end up 10px tall?  Or 50px tall? 
I've missed most of this thread, which I think will be an advantage 
here, I'm looking at it from a front-end developer point of view.
My thought process would be: "The parent will be 100px tall, therefore 
the child must be 50px tall".
I would assume that the browser calculates the height of the parent and 
then makes the child 50% of that.
Does that help?
Kind regards,
-Alastair
Received on Friday, 13 October 2006 15:06:05 UTC