Skip to content

Commit c7df9c9

Browse files
committed
Clarification about float clearance in the automatic block size
1 parent c2fa930 commit c7df9c9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

css-overflow-4/Overview.bs

+6
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,12 @@ Fragmentation of Overflow: the 'continue' property</h3>
12031203
its [=automatic block size=] will not take into account any of its children after the clamp point.
12041204
This also applies for the [=line-clamp container=] itself.
12051205

1206+
NOTE: If there are any floats before the [=clamp point=], the [=line-clamp container=]'s
1207+
automatic size must grow to encompass the clearance, just like it would if it were a regular
1208+
[=block formatting context=] root that only contained its contents before the [=clamp point=].
1209+
This is regardless of whether this would cause any content after the [=clamp point=] to be
1210+
within the container's bounds.
1211+
12061212
<h2 id=sbg-ext class=nonum>
12071213
Appendix A: Possible extensions for ''scrollbar-gutter''</h2>
12081214

0 commit comments

Comments
 (0)