Skip to content

Commit 7469912

Browse files
committed
[css-overflow] Handle line breaks in ellipsis
Closes #12557
1 parent 576cddf commit 7469912

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎css-overflow-4/Overview.bs‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,11 @@ Inline Overflow Ellipsis: the 'text-overflow' property</h3>
351351
<dd>
352352
Render the given string to represent clipped inline content.
353353

354+
All forced line breaks inside the specified string
355+
(regardless of 'white-space' value)
356+
must be collapsed,
357+
as defined for collapsible segment breaks in [[css-text-3#line-break-transform]].
358+
354359
<dt dfn-type=function><dfn>fade( [ <<length-percentage>> ] )</dfn>
355360
<dd>
356361
Clip inline content that overflows its line box.
@@ -869,6 +874,12 @@ Indicating Block-Axis Overflow: the 'block-ellipsis' property</h3>
869874
<wpt>
870875
block-ellipsis-024.html
871876
</wpt>
877+
878+
All forced line breaks inside the specified string
879+
(regardless of 'white-space' value)
880+
must be collapsed,
881+
as defined for collapsible segment breaks in [[css-text-3#line-break-transform]].
882+
872883
</dl>
873884

874885
When 'block-ellipsis' is neither ''no-ellipsis'' nor the empty string,

0 commit comments

Comments
 (0)