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

Does min-height>max-height count as a basis for percentage heights?

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 13 Oct 2006 11:04:45 -0700
To: www-style@w3.org
Message-ID: <20061013180445.GA9350@ridley.dbaron.org>
So the case that I think is currently ambiguous is the following:

div.parent { max-height: 20px; min-height: 100px; }
div.child { height: 50%; }

Does a ['min-height','max-height'] range that constrains the height
to a single value (in this case, 100px) count as "specified
explicitly" even when 'height' is 'auto'?  In other words, does the
child in this case have 'auto' height or '50px' height?


L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Friday, 13 October 2006 18:05:00 UTC

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