Skip to content

Commit fd2db4a

Browse files
heycamfrivoal
authored andcommitted
[css-overflow-3] Don't accept <'block-ellipsis'> value in -webkit-line-clamp. (#3695)
1 parent b04dae3 commit fd2db4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

css-overflow-3/Overview.bs

+5-1
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,11 @@ Legacy compatibility</h4>
998998
For compatibility with legacy content,
999999
UAs that support 'line-clamp' must also support the <dfn dfn-type=property>-webkit-line-clamp</dfn> property.
10001000
Like 'line-clamp', it is a shorthand of 'max-lines', 'continue', and 'block-ellipsis',
1001-
except that it sets 'continue' to ''-webkit-discard'' instead of ''discard''.
1001+
except that:
1002+
1003+
* its syntax is ''line-clamp/none'' | <<integer>>
1004+
* it sets 'continue' to ''-webkit-discard'' instead of ''discard''
1005+
* it unconditionally sets 'block-ellipsis' to ''block-ellipsis/auto''
10021006

10031007
Additionally, for children (including anonymous children)
10041008
of boxes whose 'display' property computes to ''-webkit-box'' or ''-webkit-inline-box'',

0 commit comments

Comments
 (0)