@@ -303,6 +303,9 @@ Inline Overflow Ellipsis: the 'text-overflow' property</h3>
303
303
<wpt>
304
304
line-clamp-auto-009.html
305
305
line-clamp-auto-010.html
306
+ webkit-line-clamp-036.html
307
+ webkit-line-clamp-037.html
308
+ line-clamp-with-text-overflow-string-003.html
306
309
</wpt>
307
310
308
311
ISSUE: This section might need to be re-synced against [[CSS-OVERFLOW-3]] .
@@ -773,6 +776,12 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property</h3>
773
776
<a>writing mode</a>
774
777
to determine the most appropriate ellipsis string.
775
778
779
+ <wpt>
780
+ line-clamp-with-text-overflow-string-001.html
781
+ line-clamp-with-text-overflow-string-002.html
782
+ line-clamp-with-text-overflow-string-003.html
783
+ </wpt>
784
+
776
785
<dt> <dfn><<string>></dfn>
777
786
<dd>
778
787
Render the specified string
@@ -832,6 +841,13 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property</h3>
832
841
block-ellipsis-repaint-003.html
833
842
block-ellipsis-repaint-004.html
834
843
block-ellipsis-repaint-001.html
844
+ webkit-line-clamp-014.html
845
+ webkit-line-clamp-025.html
846
+ webkit-line-clamp-032.html
847
+ webkit-line-clamp-035.html
848
+ webkit-line-clamp-051.html
849
+ webkit-line-clamp-052.html
850
+ webkit-line-clamp-053.html
835
851
</wpt>
836
852
837
853
Note: Setting the [=block overflow ellipsis=] 's ' line-height' to ''0''
@@ -912,6 +928,7 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
912
928
913
929
<wpt>
914
930
line-clamp-001.html
931
+ webkit-line-clamp-034.html
915
932
</wpt>
916
933
917
934
The values have the following meaning:
@@ -925,6 +942,7 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
925
942
<wpt>
926
943
line-clamp-020.html
927
944
line-clamp-auto-038.html
945
+ webkit-line-clamp-018.html
928
946
</wpt>
929
947
930
948
<dt> <dfn><<integer [1,∞]>></dfn>
@@ -1011,6 +1029,7 @@ Legacy compatibility</h4>
1011
1029
webkit-line-clamp-041-crash.html
1012
1030
webkit-line-clamp-042-crash.html
1013
1031
webkit-line-clamp-bug-1926732-crash.html
1032
+ webkit-line-clamp-049.html
1014
1033
</wpt>
1015
1034
1016
1035
<wpt pathprefix="/css/css-overflow/parsing/">
@@ -1029,21 +1048,46 @@ Legacy compatibility</h4>
1029
1048
<wpt>
1030
1049
line-clamp-019.html
1031
1050
line-clamp-034.html
1051
+ webkit-line-clamp-005.html
1032
1052
</wpt>
1033
1053
1034
1054
* its syntax is ''line-clamp/none'' | <<integer [1,∞]>>
1035
1055
* it unconditionally sets 'block-ellipsis' to ''block-ellipsis/auto''
1056
+
1057
+ <wpt>
1058
+ webkit-line-clamp-003.html
1059
+ webkit-line-clamp-004.html
1060
+ </wpt>
1061
+
1036
1062
* it sets 'continue' to ''continue/-webkit-legacy'' instead of ''collapse''
1037
1063
when an <<integer [1,∞]>> is specified
1038
1064
(as if the ''line-clamp/-webkit-legacy'' keyword was set on 'line-clamp' )
1039
1065
1066
+ <wpt>
1067
+ webkit-line-clamp-001.html
1068
+ webkit-line-clamp-002.html
1069
+ webkit-line-clamp-003.html
1070
+ webkit-line-clamp-004.html
1071
+ </wpt>
1072
+
1040
1073
The <dfn value for=continue>-webkit-legacy</dfn> value behaves identically to ''collapse'' ,
1041
1074
except that it only takes effect
1042
1075
if the [=specified value=] of the 'display' property
1043
1076
is ''-webkit-box'' or ''-webkit-inline-box''
1044
1077
and the value of the '-webkit-box-orient' property
1045
1078
is ''-webkit-box-orient/vertical'' .
1046
1079
1080
+ <wpt>
1081
+ webkit-line-clamp-001.html
1082
+ webkit-line-clamp-002.html
1083
+ webkit-line-clamp-007.html
1084
+ webkit-line-clamp-015.html
1085
+ webkit-line-clamp-016.html
1086
+ webkit-line-clamp-024.html
1087
+ webkit-line-clamp-026.html
1088
+ webkit-line-clamp-048.html
1089
+ </wpt>
1090
+
1047
1091
Note: Implementations of the legacy '-webkit-line-clamp' property
1048
1092
have not behaved identically to what is specified here.
1049
1093
The historical behavior is quirky and less robust,
@@ -1073,6 +1117,9 @@ Forcing a Break After a Set Number of Lines: the 'max-lines' property</h3>
1073
1117
max-lines-valid.html
1074
1118
max-lines-invalid.html
1075
1119
</wpt>
1120
+ <wpt>
1121
+ webkit-line-clamp-030.html
1122
+ </wpt>
1076
1123
1077
1124
If the value of 'max-lines' is not <dfn for=max-lines dfn-type=value>none</dfn> ,
1078
1125
then, given a [=computed value=] of <var> N</var> :
@@ -1096,6 +1143,30 @@ Forcing a Break After a Set Number of Lines: the 'max-lines' property</h3>
1096
1143
line-clamp-006.html
1097
1144
line-clamp-030.html
1098
1145
line-clamp-with-abspos-018.html
1146
+ webkit-line-clamp-003.html
1147
+ webkit-line-clamp-004.html
1148
+ webkit-line-clamp-005.html
1149
+ webkit-line-clamp-006.html
1150
+ webkit-line-clamp-009.html
1151
+ webkit-line-clamp-010.html
1152
+ webkit-line-clamp-017.html
1153
+ webkit-line-clamp-019.html
1154
+ webkit-line-clamp-020.html
1155
+ webkit-line-clamp-021.html
1156
+ webkit-line-clamp-022.html
1157
+ webkit-line-clamp-023.html
1158
+ webkit-line-clamp-030.html
1159
+ webkit-line-clamp-031.html
1160
+ webkit-line-clamp-033.html
1161
+ webkit-line-clamp-038.html
1162
+ webkit-line-clamp-039.html
1163
+ webkit-line-clamp-040.html
1164
+ webkit-line-clamp-043.html
1165
+ webkit-line-clamp-block-in-inline-001.html
1166
+ webkit-line-clamp-dynamic-001.html
1167
+ webkit-line-clamp-with-line-height.html
1168
+ webkit-line-clamp-with-max-height.html
1169
+ line-clamp-content-height-with-dynamic-change.html
1099
1170
</wpt>
1100
1171
1101
1172
- If the box is a [=fragmentation container=] that captures [=region breaks=] ,
@@ -1112,6 +1183,11 @@ Forcing a Break After a Set Number of Lines: the 'max-lines' property</h3>
1112
1183
1113
1184
<wpt>
1114
1185
line-clamp-006.html
1186
+ webkit-line-clamp-011.html
1187
+ webkit-line-clamp-012.html
1188
+ webkit-line-clamp-013.html
1189
+ webkit-line-clamp-027.html
1190
+ webkit-line-clamp-029.html
1115
1191
</wpt>
1116
1192
1117
1193
Note: This implies that 'max-lines' has no effect when applied to [=multi-column containers=] ,
@@ -1198,6 +1274,8 @@ Handling of Excess Content: the 'continue' property</h3>
1198
1274
line-clamp-009.html
1199
1275
line-clamp-013.tentative.html
1200
1276
line-clamp-031.html
1277
+ webkit-line-clamp-006.html
1278
+ webkit-line-clamp-040.html
1201
1279
</wpt>
1202
1280
1203
1281
If the box is a [=multicol container=] ,
@@ -1289,12 +1367,20 @@ Handling of Excess Content: the 'continue' property</h3>
1289
1367
line-clamp-016.html
1290
1368
line-clamp-017.html
1291
1369
line-clamp-018.html
1370
+ webkit-line-clamp-007.html
1371
+ webkit-line-clamp-008.html
1372
+ webkit-line-clamp-045.html
1373
+ webkit-line-clamp-046.html
1292
1374
</wpt>
1293
1375
1294
1376
* If the [=specified value=] of the 'display' property is ''-webkit-inline-box'' ,
1295
1377
the [=computed value=] becomes ''inline-block'' and
1296
1378
the box establishes a [=BFC=] .
1297
1379
1380
+ <wpt>
1381
+ webkit-line-clamp-024.html
1382
+ </wpt>
1383
+
1298
1384
<wpt pathprefix="/css/css-overflow/parsing/">
1299
1385
webkit-box-computed.html
1300
1386
</wpt>
@@ -1340,6 +1426,8 @@ Handling of Excess Content: the 'continue' property</h3>
1340
1426
line-clamp-auto-with-ruby-002.html
1341
1427
line-clamp-auto-with-ruby-003.html
1342
1428
line-clamp-auto-with-ruby-004.html
1429
+ webkit-line-clamp-031.html
1430
+ webkit-line-clamp-040.html
1343
1431
</wpt>
1344
1432
1345
1433
- A point between two [=in-flow=] [=block-level=] sibling boxes
@@ -1360,6 +1448,7 @@ Handling of Excess Content: the 'continue' property</h3>
1360
1448
line-clamp-auto-008.html
1361
1449
line-clamp-auto-012.html
1362
1450
line-clamp-auto-033.html
1451
+ webkit-line-clamp-004.html
1363
1452
</wpt>
1364
1453
1365
1454
The <dfn>auto clamp point</dfn> will be set to the last possible clamp point
@@ -1399,6 +1488,11 @@ Handling of Excess Content: the 'continue' property</h3>
1399
1488
line-clamp-auto-with-ruby-002.html
1400
1489
line-clamp-auto-with-ruby-003.html
1401
1490
line-clamp-auto-with-ruby-004.html
1491
+ webkit-line-clamp-006.html
1492
+ webkit-line-clamp-031.html
1493
+ webkit-line-clamp-040.html
1494
+ webkit-line-clamp-with-line-height.html
1495
+ webkit-line-clamp-with-max-height.html
1402
1496
</wpt>
1403
1497
1404
1498
Within a [=line-clamp container=] ,
@@ -1429,6 +1523,7 @@ Handling of Excess Content: the 'continue' property</h3>
1429
1523
line-clamp-026.html
1430
1524
line-clamp-027.html
1431
1525
line-clamp-028.html
1526
+ webkit-line-clamp-040.html
1432
1527
</wpt>
1433
1528
1434
1529
- Any [=absolutely positioned box=]
@@ -1437,42 +1532,43 @@ Handling of Excess Content: the 'continue' property</h3>
1437
1532
1438
1533
<wpt>
1439
1534
line-clamp-with-abspos-001.html
1440
- line-clamp-with-fixpos -001.html
1535
+ line-clamp-with-fixed-pos -001.html
1441
1536
line-clamp-with-abspos-002.html
1442
- line-clamp-with-fixpos -002.html
1537
+ line-clamp-with-fixed-pos -002.html
1443
1538
line-clamp-with-abspos-003.html
1444
- line-clamp-with-fixpos -003.html
1539
+ line-clamp-with-fixed-pos -003.html
1445
1540
line-clamp-with-abspos-004.html
1446
- line-clamp-with-fixpos -004.html
1541
+ line-clamp-with-fixed-pos -004.html
1447
1542
line-clamp-with-abspos-005.html
1448
- line-clamp-with-fixpos -005.html
1543
+ line-clamp-with-fixed-pos -005.html
1449
1544
line-clamp-with-abspos-006.html
1450
- line-clamp-with-fixpos -006.html
1545
+ line-clamp-with-fixed-pos -006.html
1451
1546
line-clamp-with-abspos-007.html
1452
- line-clamp-with-fixpos -007.html
1547
+ line-clamp-with-fixed-pos -007.html
1453
1548
line-clamp-with-abspos-008.html
1454
- line-clamp-with-fixpos -008.html
1549
+ line-clamp-with-fixed-pos -008.html
1455
1550
line-clamp-with-abspos-009.html
1456
- line-clamp-with-fixpos -009.html
1551
+ line-clamp-with-fixed-pos -009.html
1457
1552
line-clamp-with-abspos-010.html
1458
- line-clamp-with-fixpos -010.html
1553
+ line-clamp-with-fixed-pos -010.html
1459
1554
line-clamp-with-abspos-011.html
1460
- line-clamp-with-fixpos -011.html
1555
+ line-clamp-with-fixed-pos -011.html
1461
1556
line-clamp-with-abspos-012.html
1462
- line-clamp-with-fixpos -012.html
1557
+ line-clamp-with-fixed-pos -012.html
1463
1558
line-clamp-with-abspos-013.html
1464
- line-clamp-with-fixpos -013.html
1559
+ line-clamp-with-fixed-pos -013.html
1465
1560
line-clamp-with-abspos-014.html
1466
- line-clamp-with-fixpos -014.html
1561
+ line-clamp-with-fixed-pos -014.html
1467
1562
line-clamp-with-abspos-015.html
1468
- line-clamp-with-fixpos -015.html
1563
+ line-clamp-with-fixed-pos -015.html
1469
1564
line-clamp-with-abspos-016.html
1470
- line-clamp-with-fixpos -016.html
1565
+ line-clamp-with-fixed-pos -016.html
1471
1566
line-clamp-with-abspos-017.html
1472
- line-clamp-with-fixpos -017.html
1567
+ line-clamp-with-fixed-pos -017.html
1473
1568
line-clamp-with-abspos-020.html
1474
1569
line-clamp-with-abspos-021.html
1475
1570
line-clamp-with-abspos-022.html
1571
+ webkit-line-clamp-abspos-001.html
1476
1572
</wpt>
1477
1573
1478
1574
Any overflow such invisible boxes and line boxes might have
0 commit comments