Skip to content

Commit a676261

Browse files
committed
[css-overflow-4] Adjust the syntax of the line-clamp property
See w3c#9368
1 parent 22946c7 commit a676261

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

css-overflow-4/Overview.bs

Lines changed: 9 additions & 5 deletions
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>
@@ -847,11 +847,15 @@ Limiting Visible Lines: the 'line-clamp' shorthand property</h3>
847847
'continue' to ''continue/auto'',
848848
and 'block-ellipsis' to ''block-ellipsis/none''.
849849

850-
<dt><dfn><<integer [1,∞]>> <'block-ellipsis'>?</dfn>
851-
<dd>Sets 'max-lines' to the specified <<integer>>
850+
<dt><dfn><<integer [1,∞]>></dfn>
851+
</dt><dfn><'block-ellipsis'></dfn>
852+
<dd>
853+
Sets 'continue' to ''discard''
854+
if either or both values ares specified.
855+
856+
Sets 'max-lines' to the specified <<integer>>
852857
or to ''max-lines/none'' if omitted,
853-
'continue' to ''discard'',
854-
and the 'block-ellipsis' property to second component of the value
858+
and 'block-ellipsis' to other component of the value if specified
855859
or to ''block-ellipsis/auto'' if omitted.
856860

857861
</dl>

0 commit comments

Comments
 (0)