Skip to content

Commit 95ad995

Browse files
authored
[various] Replace optional group with implicitly optional comma (w3c#8480)
1 parent 2966104 commit 95ad995

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

css-conditional-values-1/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ to different values based on certain conditions.
180180

181181
<pre class="prod def">
182182
183-
<<if()>> = if( <<condition>>, <<consequent>> [, <<antecedent>>]?)
183+
<<if()>> = if( <<condition>>, <<consequent>>, <<antecedent>>? )
184184
<dfn>&lt;consequent></dfn> = <<declaration-value>>
185185
<dfn>&lt;antecedent></dfn> = <<declaration-value>>
186186
</pre>

css-easing-1/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ The meaning of each value is as follows:
274274
</figcaption>
275275
</figure>
276276

277-
: <dfn function lt="steps()">steps(&lt;integer&gt;[, &lt;step-position&gt; ]?)</dfn>
277+
: <dfn function lt="steps()">steps(&lt;integer&gt;, &lt;step-position&gt;?)</dfn>
278278
:: The first parameter specifies the number of intervals in the function.
279279
It must be a positive integer greater than 0
280280
unless the second parameter is <a value for="steps()">jump-none</a>

css-easing-2/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ The meaning of each value is as follows:
588588
</figcaption>
589589
</figure>
590590

591-
: <dfn function lt="steps()">steps(&lt;integer&gt;[, &lt;step-position&gt; ]?)</dfn>
591+
: <dfn function lt="steps()">steps(&lt;integer&gt;, &lt;step-position&gt;?)</dfn>
592592
:: The first parameter specifies the number of intervals in the function.
593593
It must be a positive integer greater than 0
594594
unless the second parameter is <a value for="steps()">jump-none</a>

css-egg-1/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ The <<gradient>> syntax is extended to accept <<double-rainbow()>> in addition t
445445

446446
<pre>
447447
<dfn>double-rainbow()</dfn> = double-rainbow(
448-
<<position>> [, [ <<extent>> | <<length-percentage [0,∞]>>]]?
448+
<<position>> , [ <<extent>> | <<length-percentage [0,∞]>> ]?
449449
)
450450
<dfn noexport><<extent>></dfn> = ''closest-corner'' | ''closest-side'' | ''farthest-corner'' | ''farthest-side''
451451
</pre>

0 commit comments

Comments
 (0)