Skip to content

Commit 881fcfe

Browse files
committed
[css-overflow-4] Annotate tests
1 parent 287043b commit 881fcfe

File tree

1 file changed

+113
-17
lines changed

1 file changed

+113
-17
lines changed

css-overflow-4/Overview.bs

Lines changed: 113 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@ Inline Overflow Ellipsis: the 'text-overflow' property</h3>
303303
<wpt>
304304
line-clamp-auto-009.html
305305
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
306309
</wpt>
307310

308311
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>
773776
<a>writing mode</a>
774777
to determine the most appropriate ellipsis string.
775778

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+
776785
<dt><dfn><<string>></dfn>
777786
<dd>
778787
Render the specified string
@@ -832,6 +841,13 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property</h3>
832841
block-ellipsis-repaint-003.html
833842
block-ellipsis-repaint-004.html
834843
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
835851
</wpt>
836852

837853
Note: Setting the [=block overflow ellipsis=]'s 'line-height' to ''0''
@@ -912,6 +928,7 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
912928

913929
<wpt>
914930
line-clamp-001.html
931+
webkit-line-clamp-034.html
915932
</wpt>
916933

917934
The values have the following meaning:
@@ -925,6 +942,7 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
925942
<wpt>
926943
line-clamp-020.html
927944
line-clamp-auto-038.html
945+
webkit-line-clamp-018.html
928946
</wpt>
929947

930948
<dt><dfn><<integer [1,∞]>></dfn>
@@ -1011,6 +1029,7 @@ Legacy compatibility</h4>
10111029
webkit-line-clamp-041-crash.html
10121030
webkit-line-clamp-042-crash.html
10131031
webkit-line-clamp-bug-1926732-crash.html
1032+
webkit-line-clamp-049.html
10141033
</wpt>
10151034

10161035
<wpt pathprefix="/css/css-overflow/parsing/">
@@ -1029,21 +1048,46 @@ Legacy compatibility</h4>
10291048
<wpt>
10301049
line-clamp-019.html
10311050
line-clamp-034.html
1051+
webkit-line-clamp-005.html
10321052
</wpt>
10331053

10341054
* its syntax is ''line-clamp/none'' | <<integer [1,∞]>>
10351055
* 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+
10361062
* it sets 'continue' to ''continue/-webkit-legacy'' instead of ''collapse''
10371063
when an <<integer [1,∞]>> is specified
10381064
(as if the ''line-clamp/-webkit-legacy'' keyword was set on 'line-clamp')
10391065

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+
10401073
The <dfn value for=continue>-webkit-legacy</dfn> value behaves identically to ''collapse'',
10411074
except that it only takes effect
10421075
if the [=specified value=] of the 'display' property
10431076
is ''-webkit-box'' or ''-webkit-inline-box''
10441077
and the value of the '-webkit-box-orient' property
10451078
is ''-webkit-box-orient/vertical''.
10461079

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+
10471091
Note: Implementations of the legacy '-webkit-line-clamp' property
10481092
have not behaved identically to what is specified here.
10491093
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>
10731117
max-lines-valid.html
10741118
max-lines-invalid.html
10751119
</wpt>
1120+
<wpt>
1121+
webkit-line-clamp-030.html
1122+
</wpt>
10761123

10771124
If the value of 'max-lines' is not <dfn for=max-lines dfn-type=value>none</dfn>,
10781125
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>
10961143
line-clamp-006.html
10971144
line-clamp-030.html
10981145
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
10991170
</wpt>
11001171

11011172
- 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>
11121183

11131184
<wpt>
11141185
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
11151191
</wpt>
11161192

11171193
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>
11981274
line-clamp-009.html
11991275
line-clamp-013.tentative.html
12001276
line-clamp-031.html
1277+
webkit-line-clamp-006.html
1278+
webkit-line-clamp-040.html
12011279
</wpt>
12021280

12031281
If the box is a [=multicol container=],
@@ -1289,12 +1367,20 @@ Handling of Excess Content: the 'continue' property</h3>
12891367
line-clamp-016.html
12901368
line-clamp-017.html
12911369
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
12921374
</wpt>
12931375

12941376
* If the [=specified value=] of the 'display' property is ''-webkit-inline-box'',
12951377
the [=computed value=] becomes ''inline-block'' and
12961378
the box establishes a [=BFC=].
12971379

1380+
<wpt>
1381+
webkit-line-clamp-024.html
1382+
</wpt>
1383+
12981384
<wpt pathprefix="/css/css-overflow/parsing/">
12991385
webkit-box-computed.html
13001386
</wpt>
@@ -1340,6 +1426,8 @@ Handling of Excess Content: the 'continue' property</h3>
13401426
line-clamp-auto-with-ruby-002.html
13411427
line-clamp-auto-with-ruby-003.html
13421428
line-clamp-auto-with-ruby-004.html
1429+
webkit-line-clamp-031.html
1430+
webkit-line-clamp-040.html
13431431
</wpt>
13441432

13451433
- A point between two [=in-flow=] [=block-level=] sibling boxes
@@ -1360,6 +1448,7 @@ Handling of Excess Content: the 'continue' property</h3>
13601448
line-clamp-auto-008.html
13611449
line-clamp-auto-012.html
13621450
line-clamp-auto-033.html
1451+
webkit-line-clamp-004.html
13631452
</wpt>
13641453

13651454
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>
13991488
line-clamp-auto-with-ruby-002.html
14001489
line-clamp-auto-with-ruby-003.html
14011490
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
14021496
</wpt>
14031497

14041498
Within a [=line-clamp container=],
@@ -1429,6 +1523,7 @@ Handling of Excess Content: the 'continue' property</h3>
14291523
line-clamp-026.html
14301524
line-clamp-027.html
14311525
line-clamp-028.html
1526+
webkit-line-clamp-040.html
14321527
</wpt>
14331528

14341529
- Any [=absolutely positioned box=]
@@ -1437,42 +1532,43 @@ Handling of Excess Content: the 'continue' property</h3>
14371532

14381533
<wpt>
14391534
line-clamp-with-abspos-001.html
1440-
line-clamp-with-fixpos-001.html
1535+
line-clamp-with-fixed-pos-001.html
14411536
line-clamp-with-abspos-002.html
1442-
line-clamp-with-fixpos-002.html
1537+
line-clamp-with-fixed-pos-002.html
14431538
line-clamp-with-abspos-003.html
1444-
line-clamp-with-fixpos-003.html
1539+
line-clamp-with-fixed-pos-003.html
14451540
line-clamp-with-abspos-004.html
1446-
line-clamp-with-fixpos-004.html
1541+
line-clamp-with-fixed-pos-004.html
14471542
line-clamp-with-abspos-005.html
1448-
line-clamp-with-fixpos-005.html
1543+
line-clamp-with-fixed-pos-005.html
14491544
line-clamp-with-abspos-006.html
1450-
line-clamp-with-fixpos-006.html
1545+
line-clamp-with-fixed-pos-006.html
14511546
line-clamp-with-abspos-007.html
1452-
line-clamp-with-fixpos-007.html
1547+
line-clamp-with-fixed-pos-007.html
14531548
line-clamp-with-abspos-008.html
1454-
line-clamp-with-fixpos-008.html
1549+
line-clamp-with-fixed-pos-008.html
14551550
line-clamp-with-abspos-009.html
1456-
line-clamp-with-fixpos-009.html
1551+
line-clamp-with-fixed-pos-009.html
14571552
line-clamp-with-abspos-010.html
1458-
line-clamp-with-fixpos-010.html
1553+
line-clamp-with-fixed-pos-010.html
14591554
line-clamp-with-abspos-011.html
1460-
line-clamp-with-fixpos-011.html
1555+
line-clamp-with-fixed-pos-011.html
14611556
line-clamp-with-abspos-012.html
1462-
line-clamp-with-fixpos-012.html
1557+
line-clamp-with-fixed-pos-012.html
14631558
line-clamp-with-abspos-013.html
1464-
line-clamp-with-fixpos-013.html
1559+
line-clamp-with-fixed-pos-013.html
14651560
line-clamp-with-abspos-014.html
1466-
line-clamp-with-fixpos-014.html
1561+
line-clamp-with-fixed-pos-014.html
14671562
line-clamp-with-abspos-015.html
1468-
line-clamp-with-fixpos-015.html
1563+
line-clamp-with-fixed-pos-015.html
14691564
line-clamp-with-abspos-016.html
1470-
line-clamp-with-fixpos-016.html
1565+
line-clamp-with-fixed-pos-016.html
14711566
line-clamp-with-abspos-017.html
1472-
line-clamp-with-fixpos-017.html
1567+
line-clamp-with-fixed-pos-017.html
14731568
line-clamp-with-abspos-020.html
14741569
line-clamp-with-abspos-021.html
14751570
line-clamp-with-abspos-022.html
1571+
webkit-line-clamp-abspos-001.html
14761572
</wpt>
14771573

14781574
Any overflow such invisible boxes and line boxes might have

0 commit comments

Comments
 (0)