@@ -864,6 +864,11 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property</h3>
864
864
block-ellipsis-025.html
865
865
</wpt>
866
866
867
+ Displacing content to make room for the [=block overflow ellipsis=]
868
+ can cause the [=logical height=] of line box where it is inserted to shrink.
869
+ This must not cause a reevaluation of the effects of the 'continue' property
870
+ and must not change which line box is the last one before the truncated content.
871
+
867
872
* The anonymous inline of [=block overflow ellipsis=] is placed
868
873
after any remaining content,
869
874
after [[css-text-4#white-space-phase-2]] ,
@@ -1402,7 +1407,30 @@ Handling of Excess Content: the 'continue' property</h3>
1402
1407
1403
1408
</div>
1404
1409
1405
- Additionaliy,
1410
+ When 'text-wrap-style' is set to ''text-wrap-style/balance''
1411
+ on a block container whose 'continue' has a value other than ''continue/auto'' ,
1412
+ or which participates in the [=block formatting context=]
1413
+ established by an element whose 'continue' has a value other than ''continue/auto'' ,
1414
+ layout must first be computed as if 'text-wrap-style' were set to 'text-wrap-style/stable' .
1415
+ Then, after any excess content has been truncated
1416
+ and after any necessary [=block overflow ellipsis=] has been inserted,
1417
+ the remaining content must be rebalanced,
1418
+ as per ''text-wrap-style: balance'' .
1419
+ If this rebalancing would cause the [=logical height=] of the content to grow,
1420
+ the cutoff point ([=clamp point=] or [=fragmentation break=] ) must be reevaluated,
1421
+ and any necessary [=block overflow ellipsis=] reapplied accordingly.
1422
+ Whether to rebalance again after that is up to the user agent,
1423
+ but if it does so,
1424
+ it must always ensure that the constraints
1425
+ about the placement of the cutoff point are adhered to,
1426
+ no matter how many iterations it choose to make.
1427
+
1428
+ For other values of 'text-wrap-style' ,
1429
+ whether to apply them before the effects of the 'continue' property,
1430
+ after, or both,
1431
+ is undefined in this level.
1432
+
1433
+ Additionally,
1406
1434
for compatibility (see [[#webkit-line-clamp]] ),
1407
1435
when the [=computed value=] of the 'continue' property is ''collapse'' , ''continue/-webkit-legacy'' , or ''discard''
1408
1436
and the [=computed value=] of the '-webkit-box-orient' property is ''vertical'' :
0 commit comments