11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: visudet.src,v 2.74 2003-08-24 22:09:56 bbos Exp $ -->
3+ <!-- $Id: visudet.src,v 2.75 2003-08-25 08:20:54 bbos Exp $ -->
44<head>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<title>Visual formatting model details</title>
@@ -853,15 +853,17 @@ applies.</p>
853853
854854<ol>
855855<li>'top' and 'height' are 'auto' and 'bottom' is not 'auto', then the
856- height is based on the content, set 'auto' values for 'margin-top' and
856+ height is based on the content (see <a href="#flow-root-height">"auto
857+ height..."</a>), set 'auto' values for 'margin-top' and
857858'margin-bottom' to 0, and solve for 'top'</li>
858859
859860<li>'top' and 'bottom' are 'auto' and 'height' is not 'auto', then
860861set 'top' to the static position, set 'auto' values for 'margin-top'
861862and 'margin-bottom' to 0, and solve for 'bottom'</li>
862863
863864<li>'height' and 'bottom' are 'auto' and 'top' is not 'auto', then the
864- height is based on the content, set 'auto' values for 'margin-top' and
865+ height is based on the content (see <a href="#flow-root-height">"auto
866+ height..."</a>), set 'auto' values for 'margin-top' and
865867'margin-bottom' to 0, and solve for 'bottom'</li>
866868
867869<li>'top' is 'auto', 'height' and 'bottom' are not 'auto', then set
@@ -922,8 +924,13 @@ value.
922924class="propinst-margin-bottom">'margin-bottom'</span> are 'auto',
923925their used value is 0. If <span
924926class="propinst-height">'height'</span> is 'auto', the height depends
925- on the element's descendants:
927+ on the element's descendants, see the next section.
926928</p>
929+
930+
931+ <h3><a name="flow-root-height">'Auto' height for floats and absolutely
932+ positioned elements</a></h3>
933+
927934<p>If it only has inline-level children, the height is the distance
928935between the top of the topmost line box and the bottom of the
929936bottommost line box.
@@ -938,14 +945,15 @@ positioned boxes are considered without their offset. Note that the
938945child box may be an <a
939946href="visuren.html#anonymous-block-level">anonymous block box.</a>
940947</p>
941- <p>In addition, if the element has any floating descendants whose top
942- margin edge is above the top established above or whose bottom margin
948+ <p>In addition, if the element has any floating descendants whose
949+ bottom margin
943950edge is below the bottom, then the height is increased to include
944951those edges. Only floats that are children of the element itself or of
945952descendants in the normal flow are taken into account, i.e., floats
946953inside absolutely positioned descendants are not.
947954</p>
948955
956+
949957<h2><a name="min-max-heights">Minimum and maximum heights</a>: <span
950958class="propinst-min-height">'min-height'</span> and <span
951959class="propinst-max-height">'max-height'</span></h2>
0 commit comments