Skip to content

Commit cf61f24

Browse files
committed
[css-overflow-4] Follow up on 72e39febc3984bedfcd0554b625c68bc40df607b
Specify the effects on *auto* clamp points as well as explicit ones. (the previous commit missed that part). See #12665
1 parent 8b9c5d8 commit cf61f24

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

css-overflow-4/Overview.bs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,9 +1694,18 @@ Handling of Excess Content: the 'continue' property</h3>
16941694
NOTE: This differs from the ''display: none''-like behavior
16951695
of not rendered content with ''continue: discard''.
16961696

1697+
Within a [=line-clamp container=],
1698+
floats which have not been made into [=invisible boxes=]
1699+
must be visually clipped to the [=content edge=]
1700+
of the [=line-clamp container=].
1701+
They do not introduce any clearance
1702+
that would make the [=line-clamp container=] increase its height,
1703+
and do not contribute to the [=scrollable overflow area=].
1704+
16971705
If a [=block container=] contains a [=clamp point=],
16981706
within itself or in any of its descendants,
1699-
its [=automatic block size=] will not take into account any invisible boxes.
1707+
its [=automatic block size=] will not take into account any invisible boxes,
1708+
nor any clipped float.
17001709
This also applies for the [=line-clamp container=] itself.
17011710

17021711
<wpt>
@@ -1706,14 +1715,6 @@ Handling of Excess Content: the 'continue' property</h3>
17061715
line-clamp-auto-005.html
17071716
</wpt>
17081717

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=].
1716-
17171718
<h4 id=discarding-content>Discarding Content</h4>
17181719

17191720
Note: ''continue: discard'', and thus this subsection, is [=at risk=]:

0 commit comments

Comments
 (0)