@@ -722,6 +722,13 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property</h3>
722722 It only affects line boxes contained directly by the <a>block container</a> itself,
723723 but as it inherits, will have an effect on descendants’ line boxes unless overridden.
724724
725+ <wpt>
726+ block-ellipsis-011.html
727+ block-ellipsis-012.html
728+ block-ellipsis-022.html
729+ block-ellipsis-repaint-002.html
730+ </wpt>
731+
725732 This property only affects a line box
726733 if it immediately precedes either a [=region break=]
727734 or a [=clamp point=] in the [=block formatting context=] ,
@@ -788,6 +795,28 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property</h3>
788795 and measures the inserted <a>block overflow ellipsis</a>
789796 together with the rest of the line’s content.
790797
798+ <wpt>
799+ block-ellipsis-001.html
800+ block-ellipsis-002.html
801+ block-ellipsis-003.html
802+ block-ellipsis-004.html
803+ block-ellipsis-005.html
804+ block-ellipsis-006.html
805+ block-ellipsis-010.html
806+ block-ellipsis-013.tentative.html
807+ block-ellipsis-014.tentative.html
808+ block-ellipsis-015.tentative.html
809+ block-ellipsis-016.html
810+ block-ellipsis-017.tentative.html
811+ block-ellipsis-018.html
812+ block-ellipsis-023.html
813+ block-ellipsis-024.html
814+ block-ellipsis-025.html
815+ block-ellipsis-repaint-003.html
816+ block-ellipsis-repaint-004.html
817+ block-ellipsis-repaint-001.html
818+ </wpt>
819+
791820 Note: Setting the [=block overflow ellipsis=] 's ' line-height' to ''0''
792821 makes sure that inserting it cannot cause the line's height to grow,
793822 which could cause further relayouts and potentially cycles.
@@ -799,6 +828,15 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property</h3>
799828 The [=block overflow ellipsis=] must not be included
800829 in either the ''::first-letter'' nor the ''::first-line'' pseudo-elements.
801830
831+ <wpt>
832+ block-ellipsis-007.html
833+ block-ellipsis-008.html
834+ block-ellipsis-009.html
835+ block-ellipsis-019.html
836+ block-ellipsis-020.html
837+ block-ellipsis-021.html
838+ </wpt>
839+
802840 If the [=block overflow ellipsis=] is placed before a [=region break=] and
803841 there is a subsequent <a>fragmentation container</a> in the [=fragmentation context=]
804842 that would receive subsequent content,
@@ -855,6 +893,10 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
855893 Optionally, it also allows inserting content into the last line box
856894 to indicate the continuity of truncated/interrupted content.
857895
896+ <wpt>
897+ line-clamp-001.html
898+ </wpt>
899+
858900 The values have the following meaning:
859901
860902 <dl dfn-for=line-clamp dfn-type=value>
@@ -863,6 +905,10 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
863905 'continue' to ''continue/auto'' ,
864906 and 'block-ellipsis' to ''no-ellipsis'' .
865907
908+ <wpt>
909+ line-clamp-020.html
910+ </wpt>
911+
866912 <dt> <dfn><<integer [1,∞]>></dfn>
867913 <dt> <dfn><'block-ellipsis'></dfn>
868914 <dd>
@@ -876,6 +922,11 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
876922 and 'block-ellipsis' to other component of the value if specified
877923 or to ''block-ellipsis/auto'' if omitted.
878924
925+ <wpt>
926+ line-clamp-auto-001-crash.html
927+ line-clamp-auto-002-crash.html
928+ </wpt>
929+
879930 <dt> <dfn>-webkit-legacy</dfn>
880931 <dd> Sets 'continue' to ''continue/-webkit-legacy'' .
881932
@@ -937,6 +988,12 @@ Legacy compatibility</h4>
937988 Percentages : N/A
938989 </pre>
939990
991+ <wpt>
992+ webkit-line-clamp-041-crash.html
993+ webkit-line-clamp-042-crash.html
994+ webkit-line-clamp-bug-1926732-crash.html
995+ </wpt>
996+
940997 <wpt pathprefix="/css/css-overflow/parsing/">
941998 webkit-line-clamp-valid.html
942999 webkit-line-clamp-invalid.html
@@ -950,6 +1007,11 @@ Legacy compatibility</h4>
9501007 Like 'line-clamp' , '-webkit-line-clamp' is a shorthand of 'max-lines' , 'block-ellipsis' , and 'continue' ,
9511008 except that:
9521009
1010+ <wpt>
1011+ line-clamp-019.html
1012+ line-clamp-034.html
1013+ </wpt>
1014+
9531015 * its syntax is ''line-clamp/none'' | <<integer [1,∞]>>
9541016 * it unconditionally sets 'block-ellipsis' to ''block-ellipsis/auto''
9551017 * it sets 'continue' to ''continue/-webkit-legacy'' instead of ''collapse''
@@ -1008,7 +1070,14 @@ Forcing a Break After a Set Number of Lines: the 'max-lines' property</h3>
10081070
10091071 <wpt>
10101072 block-ellipsis-022.html
1073+ line-clamp-001.html
1074+ line-clamp-002.html
1075+ line-clamp-003.html
1076+ line-clamp-005.html
1077+ line-clamp-006.html
1078+ line-clamp-030.html
10111079 </wpt>
1080+
10121081 - If the box is a [=fragmentation container=] that captures [=region breaks=] ,
10131082 a <a>region break</a>
10141083 is forced after its <var> N</var> th
@@ -1021,9 +1090,17 @@ Forcing a Break After a Set Number of Lines: the 'max-lines' property</h3>
10211090 the contents of descendants that establish <a>independent formatting contexts</a>
10221091 are skipped over while counting line boxes.
10231092
1093+ <wpt>
1094+ line-clamp-006.html
1095+ </wpt>
1096+
10241097 Note: This implies that 'max-lines' has no effect when applied to [=multi-column containers=] ,
10251098 since any line box they contain are nested into [=independent formatting contexts=] .
10261099
1100+ <wpt>
1101+ discard/discard-multicol-004.html
1102+ </wpt>
1103+
10271104 Only positive integers are accepted.
10281105 Zero or negative integers are invalid
10291106 and must cause the declaration to be <a>ignored</a> .
@@ -1068,6 +1145,9 @@ Handling of Excess Content: the 'continue' property</h3>
10681145 <wpt pathprefix="/css/css-overflow/parsing/">
10691146 continue-valid.html
10701147 continue-invalid.html
1148+ line-clamp-014.html
1149+ line-clamp-015.html
1150+ line-clamp-029.html
10711151 </wpt>
10721152
10731153 The 'continue' property gives authors the ability
@@ -1090,6 +1170,14 @@ Handling of Excess Content: the 'continue' property</h3>
10901170 This causes all content after the [=clamp point=] to be visually hidden, and to not be
10911171 taken into account for the box's [=automatic block size=] .
10921172
1173+ <wpt>
1174+ line-clamp-004.html
1175+ line-clamp-008.html
1176+ line-clamp-009.html
1177+ line-clamp-013.tentative.html
1178+ line-clamp-031.html
1179+ </wpt>
1180+
10931181 If the box is a [=multicol container=] ,
10941182 the behavior is the same as ''continue/auto'' .
10951183
@@ -1174,6 +1262,13 @@ Handling of Excess Content: the 'continue' property</h3>
11741262 * If the [=specified value=] of the 'display' property is ''-webkit-box'' ,
11751263 the [=computed value=] becomes ''flow-root'' and
11761264 the box establishes a [=BFC=] .
1265+
1266+ <wpt>
1267+ line-clamp-016.html
1268+ line-clamp-017.html
1269+ line-clamp-018.html
1270+ </wpt>
1271+
11771272 * If the [=specified value=] of the 'display' property is ''-webkit-inline-box'' ,
11781273 the [=computed value=] becomes ''inline-block'' and
11791274 the box establishes a [=BFC=] .
@@ -1190,6 +1285,10 @@ Handling of Excess Content: the 'continue' property</h3>
11901285 as the box would be a [=flex container=] rather than a [=block container=] ,
11911286 and thus the 'continue' property would not apply.
11921287
1288+ <wpt>
1289+ line-clamp-029.html
1290+ </wpt>
1291+
11931292<h4 id=line-clamp-containers>Line-clamp containers</h4>
11941293
11951294 A <dfn export>line-clamp container</dfn> is an [=independent formatting context|independent=] [=block formatting context=]
@@ -1204,6 +1303,12 @@ Handling of Excess Content: the 'continue' property</h3>
12041303 - A point between two [=in-flow=] [=block-level=] sibling boxes
12051304 in the line-clamp container's [=block formatting context=] .
12061305
1306+ <wpt>
1307+ block-ellipsis-011.html
1308+ block-ellipsis-012.html
1309+ line-clamp-003.html
1310+ </wpt>
1311+
12071312 The <dfn>auto clamp point</dfn> will be set to the last possible clamp point
12081313 such that, for it and all previous possible clamp points,
12091314 the line-clamp container's [=automatic block size=]
@@ -1220,22 +1325,50 @@ Handling of Excess Content: the 'continue' property</h3>
12201325 either the [=auto clamp point=] or the [=line-based clamp point=] ,
12211326 choosing the earlier when both exist.
12221327
1328+ <wpt>
1329+ line-clamp-011.html
1330+ line-clamp-035.html
1331+ </wpt>
1332+
12231333 Within a [=line-clamp container=] ,
12241334 the following boxes and line boxes become [=invisible boxes=] :
12251335
12261336 - Any [=in-flow=] or floating boxes
12271337 that follow the [=clamp point=] in the box tree.
12281338 This includes [=independent formatting contexts=]
12291339 and all of their descendants.
1340+
1341+ <wpt>
1342+ line-clamp-008.html
1343+ line-clamp-026.html
1344+ line-clamp-027.html
1345+ line-clamp-028.html
1346+ line-clamp-031.html
1347+ line-clamp-032.html
1348+ line-clamp-033.html
1349+ </wpt>
1350+
12301351 - Any [=line boxes=] that follow the [=clamp point=]
12311352 inside an [=inline formatting context=] .
1353+
1354+ <wpt>
1355+ line-clamp-010.html
1356+ line-clamp-026.html
1357+ line-clamp-027.html
1358+ line-clamp-028.html
1359+ </wpt>
1360+
12321361 - Any [=absolutely positioned box=]
12331362 which has an invisible box within its [=containing block chain=] ,
12341363 and all of its descendants.
12351364
12361365 Any overflow such invisible boxes and line boxes might have
12371366 is always counted as [=ink overflow=] rather than [=scrollable overflow=] .
12381367
1368+ <wpt>
1369+ line-clamp-021.html
1370+ </wpt>
1371+
12391372 NOTE: This differs from the ''display: none'' -like behavior
12401373 of not rendered content with ''continue: discard'' .
12411374
@@ -1244,6 +1377,11 @@ Handling of Excess Content: the 'continue' property</h3>
12441377 its [=automatic block size=] will not take into account any invisible boxes.
12451378 This also applies for the [=line-clamp container=] itself.
12461379
1380+ <wpt>
1381+ line-clamp-004.html
1382+ line-clamp-009.html
1383+ </wpt>
1384+
12471385 NOTE: If there are any floats before the [=clamp point=] ,
12481386 the [=line-clamp container=] 's automatic size must grow to encompass the clearance,
12491387 just like it would if it were a regular [=block formatting context=] root
@@ -1300,6 +1438,7 @@ Handling of Excess Content: the 'continue' property</h3>
13001438 discard/discard-multicol-001.html
13011439 discard/discard-multicol-002.html
13021440 discard/discard-multicol-003.html
1441+ discard/discard-multicol-004.html
13031442 </wpt>
13041443
13051444 <div class=example id=discard-overflow-column>
0 commit comments