You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<liclass="tocline3"><ahref="changes.html#q549" class="tocxref">C.8.55 10.6.3 Block-level non-replaced elements in normal flow when 'overflow' computes to 'visible'</a>
<liclass="tocline3"><ahref="changes.html#q549" class="tocxref">C.8.55 10.6.3 Block-level non-replaced elements in normal flow when 'overflow' computes to 'visible'</a>
1208
1209
</ul>
1209
1210
</ul>
1210
1211
<liclass="tocline1"><ahref="sample.html" class="tocxref">Appendix D. Default style sheet for HTML 4</a>
<li class="tocline3"><a href="changes.html#q549" class="tocxref">C.8.55 10.6.3 Block-level non-replaced elements in normal flow when 'overflow' computes to 'visible'</a>
1203
1204
</ul>
1204
1205
</ul>
1205
1206
<li class="tocline1"><a href="sample.html" class="tocxref">Appendix D. Default style sheet for HTML 4</a>
@@ -11136,28 +11137,23 @@ <h3>10.6.3 <a name="normal-block">Block-level non-replaced elements in normal
11136
11137
on whether the element has any block-level children and whether it has
11137
11138
padding or borders:
11138
11139
</p>
11139
-
<p>If it only has inline-level children, the height is the distance
11140
-
between the top of the topmost line box and the bottom of the
11141
-
bottommost line box.
11142
-
</p>
11143
-
<p>If
11144
-
it has block-level children, the height is the distance between the
11145
-
top border-edge of the topmost block-level child box that does not have
11146
-
<a href="box.html#collapsed-through">margins collapsed through it</a>
11147
-
and the bottom border-edge of the bottommost block-level child box
11148
-
that does not have margins collapsed through it. However, if the
11149
-
element has a non-zero top padding and/or top border, or is the root
11150
-
element, then the content
11151
-
starts at the top <em>margin</em> edge of the topmost child. (The
11152
-
first case expresses the fact that the top and bottom margins of the
11153
-
element <a href="box.html#collapsing-margins">collapse</a> with those
11154
-
of the topmost and bottommost children, while in the second case the
11155
-
presence of the padding/border prevents the top margins from <a
11156
-
href="box.html#collapsing-margins">collapsing</a>.) Similarly, if the
11157
-
bottom margin of the block does not collapse with the bottom margin of
11158
-
its last in-flow child, then the content ends at the bottom margin
11159
-
edge of the bottommost child.
11160
11140
11141
+
<p>The element's height is the distance from its top content edge to
11142
+
the first applicable of the following:
11143
+
11144
+
<ol>
11145
+
<li>the bottom edge of the last line box, if the box establishes a
11146
+
inline formatting context with one or more lines
11147
+
11148
+
<li>the bottom edge of the bottom (possibly collapsed) margin of its
11149
+
last in-flow child, if the child's bottom margin does not collapse
11150
+
with the element's bottom margin
11151
+
11152
+
<li>the bottom border edge of the last in-flow child whose top
11153
+
margin doesn't collapse with the element's bottom margin
11154
+
11155
+
<li>zero, otherwise
11156
+
</ol>
11161
11157
11162
11158
<p>Only children in the normal flow are taken into account (i.e.,
11163
11159
floating boxes and absolutely positioned boxes are ignored, and
@@ -20314,6 +20310,7 @@ <H1><a name="q0">Appendix C. Changes</a></H1>
<li class="tocline3"><a href="changes.html#q549" class="tocxref">C.8.55 10.6.3 Block-level non-replaced elements in normal flow when 'overflow' computes to 'visible'</a>
0 commit comments