Skip to content

Commit

Permalink
[css-overflow] allow line-clamp shorthand syntax to omitting max-line…
Browse files Browse the repository at this point in the history
…s value

See #9368
  • Loading branch information
frivoal committed Jan 22, 2024
1 parent 6d74dfd commit f33930c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions css-overflow-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>

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

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

<h3 id="changes-l3">
Expand Down

0 comments on commit f33930c

Please sign in to comment.