Skip to content

Commit 8b9c5d8

Browse files
committed
[css-overflow-4] Clamp containers clip floats, instead of growing
See #12665
1 parent 8844277 commit 8b9c5d8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

css-overflow-4/Overview.bs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1706,12 +1706,13 @@ Handling of Excess Content: the 'continue' property</h3>
17061706
line-clamp-auto-005.html
17071707
</wpt>
17081708

1709-
NOTE: If there are any floats before the [=clamp point=],
1710-
the [=line-clamp container=]'s automatic size must grow to encompass the clearance,
1711-
just like it would if it were a regular [=block formatting context=] root
1712-
that only contained its contents before the [=clamp point=].
1713-
This is regardless of whether this would cause any content after the [=clamp point=]
1714-
to be within the container's bounds.
1709+
Within a [=line-clamp container=],
1710+
floats which have not been made into [=invisible boxes=]
1711+
must be visually clipped to the [=content edge=]
1712+
of the [=line-clamp container=].
1713+
They do not introduce any clearance
1714+
that would make the [=line-clamp container=] increase its height,
1715+
and do not contribute to the [=scrollable overflow area=].
17151716

17161717
<h4 id=discarding-content>Discarding Content</h4>
17171718

0 commit comments

Comments
 (0)