Skip to content

Commit 91f5144

Browse files
committed
[css-easing-2][editorial] Even better description of 'before start' flag. Add a linear easing to the bezier comparison.
1 parent 5a2ff1c commit 91f5144

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

css-easing-2/Overview.bs

+8-1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ Some types of easing functions
168168
also take an additional boolean <dfn export for="easing function">before flag</dfn>,
169169
which indicates the easing has not yet started,
170170
or is going in reverse and is past the finish.
171+
(Some easing functions can have multiple possible [=output progress values=]
172+
for a given [=input progress value=],
173+
and generally favor the last one specified;
174+
this flag instead causes those [=easing functions=]
175+
to favor the first specified value
176+
before the animation has started.)
171177

172178
This specification defines several types of easing functions:
173179

@@ -640,13 +646,14 @@ The keyword values listed above are illustrated below.
640646
<thead>
641647
<tr><th>Easing<th>Example
642648
<tbody>
649+
<tr><td>''linear''<td><div class=easing-track style="--easing:linear"></div>
643650
<tr><td>''ease-in''<td><div class=easing-track style="--easing:ease-in"></div>
644651
<tr><td>''ease-out''<td><div class=easing-track style="--easing:ease-out"></div>
645652
<tr><td>''ease-in-out''<td><div class=easing-track style="--easing:ease-in-out"></div>
646653
<tr><td>''ease''<td><div class=easing-track style="--easing:ease"></div>
647654
</table>
648655
<figcaption>
649-
The above easing functions in action, each applied to a 3s animation of the circles' 'left' property.
656+
The above easing functions in action, each applied to a 3s animation of the circles' 'left' property. A ''linear'' easing is provided for contrast.
650657
</figcaption>
651658
</figure>
652659

0 commit comments

Comments
 (0)