Skip to content

Commit 0213411

Browse files
committed
Update for w3c#10868
1 parent ca9eb44 commit 0213411

1 file changed

Lines changed: 15 additions & 13 deletions

File tree

css-overflow-4/Overview.bs

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,6 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property</h3>
715715
This property only affects a line box
716716
if it immediately precedes eiher a [=region break=]
717717
or a [=clamp point=] in the [=block formatting context=].
718-
If the [=clamp point=] is placed at the end of the [=line-clamp container=],
719-
then the line will not be affected.
720718

721719
Note: See [[css-overflow-4#fragmentation]] for a way to generate boxes with such a [=region break=].
722720

@@ -853,7 +851,7 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
853851
<dd>
854852

855853
Issue(7708): Whether this should imply ''discard'' or ''collapse'' is an unresolved question.
856-
854+
857855
Sets 'continue' to ''collapse''
858856
if either or both values are specified,
859857
unless the ''line-clamp/-webkit-legacy'' keyword is also specified.
@@ -979,10 +977,13 @@ Forcing a Break After a Set Number of Lines: the 'max-lines' property</h3>
979977
If fewer than <var>N</var> line boxes exist,
980978
then 'max-lines' introduces no <a>region break</a>.
981979
- If the box is a [=line-clamp container=],
982-
its [=clamp point=] is set after its <var>N</var>th
980+
its [=clamp point=] is set
981+
to the first possible clamp point after
982+
its <var>N</var>th
983983
descendant <a>in-flow</a> <a>line box</a>.
984984
If fewer than <var>N</var> line boxes exist,
985-
then the clamp point is set to the end of the line-clamp container.
985+
or if there are no clamp points after it,
986+
then that line-clamp container has no clamp point.
986987

987988

988989
Only line boxes in the same <a>Block Formatting Context</a>
@@ -1178,13 +1179,14 @@ Fragmentation of Overflow: the 'continue' property</h3>
11781179

11791180
A <dfn>line-clamp container</dfn> is an [=independent formatting context|independent=] [=block formatting context=]
11801181
that additionally follows the rules in this section.
1181-
All line-clamp containers contain a <dfn>clamp point</dfn>,
1182+
Line-clamp containers can have a <dfn>clamp point</dfn>,
11821183
which is one of the following positions inside it:
11831184

1184-
- A point immediately after a [=line box=]
1185-
in the line-clamp container's [=block formatting context=].
1186-
- The end of the line-clamp container,
1187-
if there are any boxes after the last [=inline formatting context=]
1185+
- The start of the [=line-clamp container=].
1186+
- A point between two consecutive [=line boxes=]
1187+
in an [=inline formatting context=]
1188+
contained by the line-clamp container's [=block formatting context=].
1189+
- A point between two [=in-flow=] [=block-level=] sibling boxes
11881190
in the line-clamp container's [=block formatting context=].
11891191

11901192
If the [=line-clamp container=]'s [=block formatting context root=]
@@ -1195,9 +1197,9 @@ Fragmentation of Overflow: the 'continue' property</h3>
11951197
the line-clamp container's [=automatic block size=]
11961198
(as determined below)
11971199
is not greater than the [=block size=] the box would have
1198-
if its automatic block size were infinite;
1199-
or if that is not the case for any possible clamp points,
1200-
to the first possible clamp point in the block formatting context.
1200+
if its automatic block size were infinite.
1201+
If the [=block size=] would be infinite,
1202+
then there is no clamp point.
12011203

12021204
Within a [=line-clamp container=],
12031205
the following boxes and line boxes will be invisible

0 commit comments

Comments
 (0)