Skip to content

Commit 0198341

Browse files
authored
[css-values-5] Typo (#12305)
* [css-values-5] Typo * [css-values-5] Prevent re-ordering *-interpolate() first argument * [css-syntax-5] Typo
1 parent 643f167 commit 0198341

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

css-values-5/Overview.bs

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ Interpolation Mapping Notations: the *-interpolate() family</h2>
987987
The [=functional notations=] follow the syntactic pattern:
988988

989989
<pre class=prod>
990-
<var>*interpolate</var>() = <var>*interpolate</var>( <var>progress</var> && <var>global-options</var>?,
990+
<var>*interpolate</var>() = <var>*interpolate</var>( [ <var>progress</var> && <var>global-options</var>? ],
991991
<var>stop</var>, [ <var>between-options</var>? , <var>stop</var> ]# )
992992
</pre>
993993

@@ -1027,10 +1027,12 @@ Global Syntax of the *-interpolate() family</h3>
10271027

10281028
<pre class=prod>
10291029
<var>interpolate-function</var>() = <var>interpolate-function</var>(
1030-
<<progress-source>> && [ by <<easing-function>> ]?
1031-
&& <<easing-function>>? && <<segment-options>>?,
1030+
[
1031+
<<progress-source>> && [ by <<easing-function>> ]?
1032+
&& <<easing-function>>? && <<segment-options>>?
1033+
] ,
10321034
<<input-position>>{1,2} : <<output-value>> ,
1033-
[ [ <<easing-function>> || <<segment-options>> , ]? <<input-position>>{1,2} : <<output-value>> ]*
1035+
[ [ <<easing-function>> || <<segment-options>> ]? , <<input-position>>{1,2} : <<output-value>> ]#?
10341036
)
10351037
</pre>
10361038

@@ -1263,8 +1265,10 @@ Interpolated Numeric and Dimensional Values: the ''calc-interpolate()'' notation
12631265

12641266
<pre class=prod>
12651267
<<calc-interpolate()>> = calc-interpolate(
1266-
<<progress-source>> && [ by <<easing-function>> ]?
1267-
&& <<easing-function>>?,
1268+
[
1269+
<<progress-source>> && [ by <<easing-function>> ]?
1270+
&& <<easing-function>>?
1271+
] ,
12681272
<<input-position>>{1,2} : <<calc-sum>> ,
12691273
[ <<easing-function>>? , <<input-position>>{1,2} : <<calc-sum>> ]# )
12701274
</pre>
@@ -1274,7 +1278,7 @@ Interpolated Numeric and Dimensional Values: the ''calc-interpolate()'' notation
12741278
but must have a [=consistent type=]
12751279
or else the function is invalid.
12761280
The result's type will be the [=consistent type=],
1277-
[=made consistent=] with the type of the <<progress>> value.
1281+
[=made consistent=] with the type of the <<progress-source>> value.
12781282

12791283
<h3 id="color-interpolate">
12801284
Interpolated Color Values: the ''color-interpolate()'' notation</h3>
@@ -1285,8 +1289,10 @@ Interpolated Color Values: the ''color-interpolate()'' notation</h3>
12851289

12861290
<pre class=prod>
12871291
<<color-interpolate()>> = color-interpolate(
1288-
<<progress-source>> && [ by <<easing-function>> ]?
1289-
&& <<easing-function>>? && <<color-interpolation-method>>?,
1292+
[
1293+
<<progress-source>> && [ by <<easing-function>> ]?
1294+
&& <<easing-function>>? && <<color-interpolation-method>>?
1295+
] ,
12901296
<<input-position>>{1,2} : <<color>>,
12911297
[ [ <<easing-function>> || <<color-interpolation-method>> ],
12921298
<<input-position>>{1,2} : <<color>> ]# )
@@ -1301,8 +1307,10 @@ Interpolated Transform Values: the ''transform-interpolate()'' notation</h3>
13011307

13021308
<pre class=prod>
13031309
<<transform-interpolate()>> = transform-interpolate(
1304-
<<progress-source>> && [ by <<easing-function>> ]?
1305-
&& <<easing-function>>?,
1310+
[
1311+
<<progress-source>> && [ by <<easing-function>> ]?
1312+
&& <<easing-function>>?
1313+
],
13061314
<<input-position>>{1,2} : <<transform-list>>,
13071315
[ <<easing-function>>?, <<input-position>>{1,2} : <<transform-list>> ]# )
13081316
</pre>
@@ -1318,8 +1326,10 @@ Interpolated Property Values: the ''interpolate()'' notation</h3>
13181326

13191327
<pre class=prod>
13201328
<<interpolate()>> = interpolate(
1321-
<<progress-source>> && [ by <<easing-function>> ]?
1322-
&& <<easing-function>>?,
1329+
[
1330+
<<progress-source>> && [ by <<easing-function>> ]?
1331+
&& <<easing-function>>?
1332+
] ,
13231333
<<input-position>>{1,2} : <<whole-value>>,
13241334
[ <<easing-function>>?, <<input-position>>{1,2} : <<whole-value>> ]# ) |
13251335
interpolate( <<progress-source>> && [ by <<easing-function>> ]?

0 commit comments

Comments
 (0)