Skip to content

Commit f33930c

Browse files
committed
[css-overflow] allow line-clamp shorthand syntax to omitting max-lines value
See #9368
1 parent 6d74dfd commit f33930c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

css-overflow-4/Overview.bs

+5-2
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
816816

817817
<pre class="propdef shorthand">
818818
Name: line-clamp
819-
Value: none | <<integer [1,∞]>> <<'block-ellipsis'>>?
819+
Value: none | <<integer [1,∞]>>? <<'block-ellipsis'>>?
820820
Initial: none
821821
Percentages: N/A
822822
</pre>
@@ -848,7 +848,8 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
848848
and 'block-ellipsis' to ''block-ellipsis/none''.
849849

850850
<dt><dfn><<integer [1,∞]>> <'block-ellipsis'>?</dfn>
851-
<dd>Sets 'max-lines' to the specified <<integer>>,
851+
<dd>Sets 'max-lines' to the specified <<integer>>
852+
or to ''max-lines/none'' if omitted,
852853
'continue' to ''discard'',
853854
and the 'block-ellipsis' property to second component of the value
854855
or to ''block-ellipsis/auto'' if omitted.
@@ -2228,6 +2229,8 @@ Recent Changes</h3>
22282229
(<a href="https://github.com/w3c/csswg-drafts/issues/7144">Issue 7144</a>)
22292230
<li>Defined [=longhands=] for 'overflow-clip-margin'.
22302231
(<a href="https://github.com/w3c/csswg-drafts/issues/7245">Issue 7245</a>)
2232+
<li>Change the 'line-clamp' shorthand syntax to allow omitting the 'max-lines' value
2233+
(<a href="https://github.com/w3c/csswg-drafts/issues/9368">Issue 9368</a>)
22312234
</ul>
22322235

22332236
<h3 id="changes-l3">

0 commit comments

Comments
 (0)