Skip to content

Commit db529d1

Browse files
committed
[css-overflow-4] phrasing tweak
Adjust the order of the text to match the order of the grammar, in order to avoid suggesting a different ordering. See #8742
1 parent 1ddd492 commit db529d1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

css-overflow-4/Overview.bs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -927,13 +927,14 @@ Legacy compatibility</h4>
927927
New Values: -webkit-legacy
928928
</pre>
929929

930-
Like 'line-clamp', '-webkit-line-clamp' is a shorthand of 'max-lines', 'continue', and 'block-ellipsis',
930+
Like 'line-clamp', '-webkit-line-clamp' is a shorthand of 'max-lines', 'block-ellipsis', and 'continue',
931931
except that:
932932

933933
* its syntax is ''line-clamp/none'' | <<integer [1,∞]>>
934-
* it sets 'continue' to ''continue/-webkit-legacy'' instead of ''collapse''
935-
(as if the ''line-clamp/-webkit-legacy'' keyword was set on 'line-clamp')
936934
* it unconditionally sets 'block-ellipsis' to ''block-ellipsis/auto''
935+
* it sets 'continue' to ''continue/-webkit-legacy'' instead of ''collapse''
936+
when an <<integer [1,∞]>> is specified
937+
(as if the ''line-clamp/-webkit-legacy'' keyword was set on 'line-clamp')
937938

938939
The <dfn value for=continue>-webkit-legacy</dfn> value behaves identically to ''collapse'',
939940
except that it only takes effect

0 commit comments

Comments
 (0)