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
Properties set on elements that cause anonymous block boxes to be
7636
7638
generated still apply to the boxes and content of that element. For
7637
-
example, if a border had been set on the BODY element in the above
7639
+
example, if a border had been set on the P element in the above
7638
7640
example, the border would be drawn around C1 (open at the end of the
7639
7641
line) and C2 (open at the start of the line).
7640
7642
</p>
@@ -8859,46 +8861,49 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
8859
8861
<a href="#run-in">run-in boxes</a>,
8860
8862
this property applies to the final block box to which the run-in box belongs.
8861
8863
</p>
8862
-
<p><dfn id="clearance">Clearance</dfn> is introduced as spacing above the margin-top of an element. It is used to push the element vertically (typically downward), past the float.
8863
-
</p>
8864
+
8864
8865
<p>Values have the following meanings when applied to non-floating
8865
8866
block boxes:</p>
8866
8867
8867
8868
<dl>
8868
8869
<dt><strong>left</strong></dt>
8869
8870
8870
-
<dd>The clearance of the generated box is set to the amount necessary to place the
8871
-
top border edge below the bottom outer edge of any left-floating
8872
-
boxes that resulted from elements earlier in the source document.
8871
+
<dd>Requires that the top border edge of the box be below the bottom
8872
+
outer edge of any left-floating boxes that resulted from elements
8873
+
earlier in the source document.
8873
8874
</dd>
8874
8875
8875
8876
<dt><strong>right</strong></dt>
8876
8877
8877
-
<dd>The clearance of the generated box is set to the amount necessary to place the
8878
-
top border edge below the bottom outer edge of any right-floating
8879
-
boxes that resulted from elements earlier in the source document.
8878
+
<dd>Requires that the top border edge of the box be below the bottom
8879
+
outer edge of any right-floating boxes that resulted from elements
8880
+
earlier in the source document.
8880
8881
</dd>
8881
8882
8882
8883
<dt><strong>both</strong></dt>
8883
8884
8884
-
<dd>The clearance of the generated box is set to the amount necessary to place the
8885
-
top border edge below the bottom outer edge of any right-floating
8886
-
and left-floating boxes that resulted from elements earlier in the
8887
-
source document.
8885
+
<dd>Requires that the top border edge of the box be below the bottom
8886
+
outer edge of any right-floating and left-floating boxes that resulted
8887
+
from elements earlier in the source document.
8888
8888
</dd>
8889
8889
8890
8890
<dt><strong>none</strong></dt>
8891
8891
8892
8892
<dd>No constraint on the box's position with respect to floats.</dd>
8893
8893
</dl>
8894
8894
8895
+
<p>Values other than 'none' potentially introduce <dfn
and acts as spacing above the margin-top of an element. It is used to
8898
+
push the element vertically past the float.
8899
+
8895
8900
<p>
8896
8901
Computing the clearance of an element on which 'clear' is set is done by first determining the hypothetical position of the element's top border edge within its parent block. This position is determined after the top margin of the element has been collapsed with previous adjacent margins (including the top margin of the parent block).
8897
8902
</p>
8898
8903
<p>
8899
8904
If this hypothetical position of the element's top border edge is not
8900
-
past the relevant floats, then its clearance must be set to the
8901
-
greater of:
8905
+
past the relevant floats, then clearance is introduced and must be set
8906
+
to the greater of:
8902
8907
</p>
8903
8908
<ol>
8904
8909
<li>The amount necessary to place the border edge of the block even
@@ -8921,7 +8926,7 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
<tr valign=baseline><td><em>Computed value:</em> <td>the percentage or 'auto' as specified or the absolute length; 'auto' if the property does not apply
10114
+
<tr valign=baseline><td><em>Computed value:</em> <td>the percentage or 'auto' as specified or the absolute length
<tr valign=baseline><td><em>Computed value:</em> <td>the percentage or 'auto' (see prose under <a href="syndata.html#value-def-percentage" class="noxref"><span class="value-inst-percentage"><percentage></span></a>) or the absolute length; 'auto' if the property does not apply
10751
+
<tr valign=baseline><td><em>Computed value:</em> <td>the percentage or 'auto' (see prose under <a href="syndata.html#value-def-percentage" class="noxref"><span class="value-inst-percentage"><percentage></span></a>) or the absolute length
0 commit comments