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
@@ -1206,32 +1206,30 @@ the <span class="propinst-clear">'clear'</span> property</h3>
1206
1206
<a href="#run-in">run-in boxes</a>,
1207
1207
this property applies to the final block box to which the run-in box belongs.
1208
1208
</p>
1209
-
<ins class="proposed">
1210
1209
<p>
1211
-
The <dfn>clearance</dfn> dimension is introduced as a dimension above the margin-top of an element that is used to push the element vertically down.
1210
+
The <dfn id="clearance">clearance</dfn> dimension is introduced as a dimension above the margin-top of an element that is used to push the element vertically (typically downward).
1212
1211
</p>
1213
-
</ins>
1214
1212
<p>Values have the following meanings when applied to non-floating
1215
1213
block boxes:</p>
1216
1214
1217
1215
<dl>
1218
1216
<dt><strong>left</strong></dt>
1219
1217
1220
-
<dd>The <span class="delcurrent">top margin</span><span class="insproposed">clearance</span> of the generated box is <span class="delcurrent">increased enough that</span><span class="insproposed"> set to the amount necessary to place</span> the
1218
+
<dd>The clearance of the generated box is set to the amount necessary to place the
1221
1219
top border edge is below the bottom outer edge of any left-floating
1222
1220
boxes that resulted from elements earlier in the source document.
1223
1221
</dd>
1224
1222
1225
1223
<dt><strong>right</strong></dt>
1226
1224
1227
-
<dd>The <span class="delcurrent">top margin</span><span class="insproposed">clearance</span> of the generated box is <span class="delcurrent">increased enough that</span><span class="insproposed"> set to the amount necessary to place</span> the
1225
+
<dd>The clearance of the generated box is set to the amount necessary to place the
1228
1226
top border edge is below the bottom outer edge of any right-floating
1229
1227
boxes that resulted from elements earlier in the source document.
1230
1228
</dd>
1231
1229
1232
1230
<dt><strong>both</strong></dt>
1233
1231
1234
-
<dd>The <span class="delcurrent">top margin</span><span class="insproposed">clearance</span> of the generated box is <span class="delcurrent">increased enough that</span><span class="insproposed"> set to the amount necessary to place</span> the
1232
+
<dd>The clearance of the generated box is set to the amount necessary to place the
1235
1233
top border edge is below the bottom outer edge of any right-floating
1236
1234
and left-floating boxes that resulted from elements earlier in the
1237
1235
source document.
@@ -1242,13 +1240,13 @@ source document.
1242
1240
<dd>No constraint on the box's position with respect to floats.</dd>
1243
1241
</dl>
1244
1242
1245
-
<ins class="proposed">
1246
1243
<p>
1247
1244
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).
1248
-
</p><p>
1245
+
</p>
1246
+
<p>
1249
1247
If the element's top border edge has not passed the relevant floats, then its clearance is set to the amount necessary to place the border edge of the block even with the bottom outer edge of the lowest float that must be cleared.
1250
1248
</p>
1251
-
</ins>
1249
+
1252
1250
<p>When the property is set on floating elements, it results in a
1253
1251
modification of the <a href="#float-rules">rules</a> for
1254
1252
positioning the float. An extra constraint (#10) is added:
@@ -1269,7 +1267,7 @@ may therefore have supported this property on all elements. In CSS2
1269
1267
and CSS 2.1 the 'clear' property only applies to block-level elements.
1270
1268
Therefore authors should only use this property on block-level
1271
1269
elements. If an implementation does support clear on inline elements,
1272
-
rather than <span class="delcurrent">increasing the top margin</span><span class="insproposed">setting a clearance</span> as explained above,
1270
+
rather than setting a clearance as explained above,
1273
1271
the implementation should force a break and effectively insert one or more empty line boxes (or shifting the new line box downward as described in <a href="#floats">section 9.5</a>) to move the top of the cleared inline's line box to below the respective floating box(es).
0 commit comments