@@ -221,7 +221,7 @@ Some example step timing functions are illustrated below.
221221</figure>
222222
223223A [=step timing function=] is defined by a non-zero positive number of
224- <var > steps</var > , and a <var > step position</var > property that may be either
224+ <dfn >steps</dfn > , and a <dfn >step position</dfn > property that may be either
225225<a value for="steps()">start</a> or <a value for="steps()">end</a> .
226226
227227At the exact point where a step occurs the result of the function is
@@ -234,31 +234,31 @@ The [=output progress value=] is calculated from the [=input progress value=]
234234and [=before flag=] as follows:
235235
2362361. Calculate the <var> current step</var> as <code> floor([=input progress
237- value=] × <var> steps</var> )</code> clamped to the range [0,
238- <var> steps</var> ].
237+ value=] × [= steps=] )</code> clamped to the range [0,
238+ [= steps=] ].
239239
240- 1. If the <var> step position</var> property is <a value
241- for="steps()">start</a> and < var> current step</var> < <var> steps</ var>,
242- increment <var> current step</var> by one.
240+ 1. If the [= step position=] property is <a value for="steps()">start</a> and
241+ < var> current step</var> < [= steps=] , increment < var>current
242+ step</var> by one.
243243
2442441. If <em> all</em> of the following conditions are true:
245245
246246 * the [=before flag=] is set,
247247 * <var> current step</var> > 0, <em> and</em>
248- * [=input progress value=] × <var> steps</var> mod 1 equals zero
249- (that is, if [=input progress value=] × <var> steps</var> is
248+ * [=input progress value=] × [= steps=] mod 1 equals zero
249+ (that is, if [=input progress value=] × [= steps=] is
250250 integral), then
251251
252252 decrement <var> current step</var> by one.
253253
2542541. The [=output progress value=] is <code><var> current step</var>
255- / <var> steps</var> </code> .
255+ / [= steps=] </code> .
256256
257257<div class=example>
258258
259259As an example of how the [=before flag=] affects the behavior of this function,
260- consider an animation with a [=step timing function=] whose <var> step
261- position</var> is <a value for="steps()">start</a> and which has a positive
260+ consider an animation with a [=step timing function=] whose [= step
261+ position=] is <a value for="steps()">start</a> and which has a positive
262262delay and backwards fill.
263263
264264For example, using CSS animation:
@@ -299,7 +299,7 @@ The meaning of each value is as follows:
299299 It must be a positive integer greater than 0.
300300 The second parameter, which is optional, is
301301 either the value <dfn value for="steps()">start</dfn> or <dfn value
302- for="steps()"> end</dfn> , and specifies the <var> step position</var> .
302+ for="steps()"> end</dfn> , and specifies the [= step position=] .
303303 If the second parameter is omitted, it is given the value ''end'' .
304304
305305</dl>
@@ -329,7 +329,7 @@ defined in [[CSSOM]] with the following additional requirements:
329329 ''steps()'' function or either of the ''step-start'' or ''step-end''
330330 keywords, are serialized as follows:
331331
332- 1. If the <var> step position</var> is ''end'' , serialize
332+ 1. If the [= step position=] is ''end'' , serialize
333333 as <a lt="steps()" function>steps(<integer>)</a> .
334334
335335 2. Otherwise, serialize as <a lt="steps()"
0 commit comments