Skip to content

Commit 636f195

Browse files
committed
[css-position-3] Remove section defining auto heights of block containers, doesn't belong in this spec.
1 parent e40a567 commit 636f195

1 file changed

Lines changed: 3 additions & 29 deletions

File tree

css-position-3/Overview.bs

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Module Interactions</h3>
162162
<li>
163163
<a href="https://www.w3.org/TR/CSS2/visudet.html#abs-replaced-height">10.6.5 Absolutely positioned replaced elements</a>
164164
<li>
165-
<a href="https://www.w3.org/TR/CSS2/visudet.html#root-height">10.6.7 Auto heights for block formatting context roots</a>
165+
<a href="https://www.w3.org/TR/CSS2/visudet.htmlhttps://www.w3.org/TR/CSS2/visudet.html#root-height">10.6.7 Auto heights for block formatting context roots</a>
166166
<li>
167167
<a href="https://www.w3.org/TR/CSS2/zindex.html">Appendix E. Elaborate description of Stacking Contexts</a>
168168
</ul>
@@ -1118,7 +1118,7 @@ The Height Of Absolutely Positioned, Non-Replaced Elements</h3>
11181118
1. If 'top' and 'height' are ''top/auto''
11191119
and 'bottom' is not ''top/auto'',
11201120
then the height is based on the
1121-
<a href="#root-height">Auto heights for block formatting context roots</a>,
1121+
<a href="https://www.w3.org/TR/CSS2/visudet.html#root-height">Auto heights for block formatting context roots</a>,
11221122
and solve for 'top'.
11231123

11241124
2. If 'top' and 'bottom' are ''top/auto''
@@ -1129,7 +1129,7 @@ The Height Of Absolutely Positioned, Non-Replaced Elements</h3>
11291129
3. If 'height' and 'bottom' are ''top/auto''
11301130
and 'top' is not ''top/auto'',
11311131
then the height is based on the
1132-
<a href="#root-height">Auto heights for block formatting context roots</a>,
1132+
<a href="https://www.w3.org/TR/CSS2/visudet.html#root-height">Auto heights for block formatting context roots</a>,
11331133
and solve for 'bottom'.
11341134

11351135
4. If 'top' is ''top/auto'',
@@ -1189,32 +1189,6 @@ The Height Of Absolutely Positioned, Replaced Elements</h3>
11891189
5. If at this point the values are over-constrained,
11901190
ignore the value for 'bottom' and solve for that value.
11911191

1192-
<h3 id="root-height">
1193-
Auto heights for block formatting context roots</h3>
1194-
1195-
In certain cases (see, e.g., <a href="#abs-non-replaced-height">The height of
1196-
absolute or fixed positioned, non-replaced element</a> above), the height
1197-
of an element that establishes a block formatting context is computed as follows:
1198-
1199-
If it only has inline-level children, the height is the distance between the
1200-
top of the topmost line box and the bottom of the bottommost line box.
1201-
1202-
If it has block-level children, the height is the distance between the top
1203-
margin-edge of the topmost block-level child box and the bottom margin-edge of
1204-
the bottommost block-level child box.
1205-
1206-
Absolutely positioned children are ignored, and relatively positioned boxes are
1207-
considered without their inset. Note that the child box may be an <a href="https://www.w3.org/TR/CSS2/visuren.html#anonymous-block-level">anonymous block box</a>.
1208-
1209-
In addition, if the element has any floating descendants whose bottom margin edge
1210-
is below the element’s bottom content edge, then the height is increased to
1211-
include those edges. Only non-positioned <a>floats</a> that
1212-
participate in this block formatting context are taken into account, e.g.,
1213-
<a>floats</a> inside absolutely positioned descendants or
1214-
other <a>floats</a> are not.
1215-
<!-- End section: Auto heights for block formatting context roots -->
1216-
<!-- End section: Sizing and positioning details -->
1217-
12181192
<h2 id="comparison">
12191193
Informative Comparison of Normal Flow, Floats, and Positioning</h2>
12201194

0 commit comments

Comments
 (0)