Skip to content

Commit 999f6cc

Browse files
committed
[css-text-4] Only accept "none" as a standalone keyword for text-fit
Follow-up to #13616.
1 parent e2ca4ff commit 999f6cc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

css-text-4/Overview.bs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9746,7 +9746,7 @@ Text fitting: the 'text-fit' property</h3>
97469746

97479747
<pre class="propdef">
97489748
Name: text-fit
9749-
Value: [ none | grow | shrink ] [consistent | per-line | per-line-all]? <<percentage>>?
9749+
Value: none | [ grow | shrink ] [ consistent | per-line | per-line-all ]? <<percentage>>?
97509750
Initial: none
97519751
Applies to: <a>block containers</a>
97529752
Inherited: no
@@ -9784,7 +9784,6 @@ Text fitting: the 'text-fit' property</h3>
97849784
<dd>
97859785
Specifies that all lines in the container are scaled with a single
97869786
scaling factor.
9787-
This keyword has no effect if ''text-fit/none'' is specified.
97889787
If none of ''text-fit/consistent'', ''text-fit/per-line'', or
97899788
''text-fit/per-line-all'' are specified, ''text-fit/consistent'' is
97909789
assumed.
@@ -9795,15 +9794,13 @@ Text fitting: the 'text-fit' property</h3>
97959794
Specifies that each line is scaled with its own scaling factor.
97969795
However, the last line of the block and lines that end in a forced
97979796
break are not scaled.
9798-
This keyword has no effect if ''text-fit/none'' is specified.
97999797
</dd>
98009798

98019799
<dt><dfn>per-line-all</dfn>
98029800
<dd>
98039801
Specifies that each line is scaled with its own scaling factor,
98049802
including the last line of the block and lines that end in a forced
98059803
break.
9806-
This keyword has no effect if ''text-fit/none'' is specified.
98079804
</dd>
98089805

98099806
<dt><dfn>&lt;percentage&gt;</dfn>

0 commit comments

Comments
 (0)