Skip to content

Commit 6a82cbf

Browse files
committed
link to absolutely-positioned + minor grammatical changes
1 parent fa31d84 commit 6a82cbf

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

css2/Overview.bs

+22-23
Original file line numberDiff line numberDiff line change
@@ -8712,26 +8712,26 @@ available width), preferred width).</p>
87128712
</p>
87138713
<h4 id="abs-non-replaced-width">Absolutely positioned, non-replaced elements</h4>
87148714

8715-
<p>For the purposes of this section and the next, the term <span id="static-position"><span class="index">"static position"</span></span>
8716-
(of an element) refers, roughly,
8717-
to the position an element would have had in the normal flow. More
8718-
precisely:
8715+
<p>In this section and the next, the term <span id="static-position">
8716+
<span class="index">"static position"</span></span> (of an element)
8717+
refers roughly to where an [=absolutely positioned element=] would
8718+
appear in the normal flow if it was statically positioned.
8719+
More precisely:
87198720
</p>
87208721
<ul>
87218722
<li>The <dfn>static-position containing block</dfn> is the containing
87228723
block of a hypothetical box that would have been the first box of the
8723-
element if its specified 'position' value had been ''static''
8724+
[=absolutely positioned element=] if its specified 'position' value had been ''static''
87248725
and its specified 'float' had been ''float/none''. (Note that due to the rules
87258726
in <a href="#dis-pos-flo">section&nbsp;9.7</a> this
87268727
hypothetical calculation might require also assuming a different
87278728
computed value for 'display'.)
87288729
</li>
87298730
<li>The static position for 'left' is the distance from the left edge
87308731
of the containing block to the left margin edge of a hypothetical box
8731-
that would have been the first box of the element if its 'position' property had been ''static''
8732-
and 'float' had been ''float/none''. The
8733-
value is negative if the hypothetical
8734-
box is to the left of the containing block.
8732+
that would have been the first box of the [=absolutely positioned element=]
8733+
if its 'position' property had been ''static'' and 'float' had been ''float/none''.
8734+
The value is negative if the hypothetical box is to the left of the containing block.
87358735
</li>
87368736
<li>The static position for 'right' is the distance from the right
87378737
edge of the containing block to the right margin edge of the same
@@ -8749,8 +8749,8 @@ block of fixed positioned elements is the initial containing block
87498749
instead of the viewport, and all scrollable boxes should be assumed to
87508750
be scrolled to their origin.
87518751

8752-
<p>The constraint that determines the used values for these
8753-
elements is:</p>
8752+
<p>For [=absolutely positioned element=], the used values of the horizontal
8753+
dimensions must satisfy this constraint:</p>
87548754

87558755
<blockquote>
87568756
<p>'left' + 'margin-left' + 'border-left-width' + 'padding-left' + 'width'
@@ -9272,15 +9272,14 @@ that the child box may be an <a href="#anonymous-block-level">anonymous block bo
92729272

92739273
<h4 id="abs-non-replaced-height">Absolutely positioned, non-replaced elements</h4>
92749274

9275-
<p>For the purposes of this section and the next, the term "static
9276-
position" (of an element) refers, roughly, to the position an element
9277-
would have had in the normal flow. More precisely, the static position
9275+
<p>In this section and the next, the term "static position" (of an element)
9276+
refers roughly to where an [=absolutely positioned element=] would appear in the
9277+
normal flow if it was statically positioned. More precisely, the static position
92789278
for 'top' is the distance from the top edge of the containing block to
9279-
the top margin edge of a hypothetical box that would have been the
9280-
first box of the element if its specified 'position' value had been ''static''
9281-
and its specified 'float' had been
9282-
''float/none'' and its specified 'clear'
9283-
had been ''clear/none''. (Note that due to the rules
9279+
the top margin edge of a hypothetical box that would have been the first box of
9280+
the absolutely positioned element if its specified 'position'
9281+
value had been ''static'' and its specified 'float' had been ''float/none''
9282+
and its specified 'clear' had been ''clear/none''. (Note that due to the rules
92849283
in <a href="#dis-pos-flo">section&nbsp;9.7</a> this might
92859284
require also assuming a different computed value for 'display'.)
92869285
The value is negative if the hypothetical box is above the containing
@@ -9294,8 +9293,8 @@ position.
92949293
block of fixed positioned elements is the initial containing block
92959294
instead of the viewport.
92969295

9297-
<p>For absolutely positioned elements, the used values of the vertical
9298-
dimensions must satisfy this constraint:</p>
9296+
<p>For [=absolutely positioned element|absolutely positioned elements=],
9297+
the used values of the vertical dimensions must satisfy this constraint:</p>
92999298

93009299
<blockquote>
93019300
<p>'top' + 'margin-top' + 'border-top-width' + 'padding-top' + 'height'
@@ -9346,8 +9345,8 @@ values for 'margin-top' and 'margin-bottom' are set to 0 and solve for
93469345
<h4 id="abs-replaced-height">Absolutely positioned, replaced elements</h4>
93479346

93489347
<p>This situation is similar to the previous one, except that the
9349-
element has an <a href="#intrinsic">intrinsic</a> height. The
9350-
sequence of substitutions is now:
9348+
[=absolutely positioned element=] has an <a href="#intrinsic">intrinsic</a> height.
9349+
The sequence of substitutions is now:
93519350
</p>
93529351
<ol>
93539352

0 commit comments

Comments
 (0)