@@ -361,16 +361,12 @@ its associated [=keyframes=] are generated as follows:
361
361
362
362
* The <dfn lt="computed keyframe order">computed order</dfn> of |keyframes|--
363
363
which is the order returned by {{KeyframeEffect/getKeyframes()}}--
364
- is found by
365
- shifting |initial keyframe|, |final keyframe|, and
366
- any keyframes whose offset was specified
367
- as <<percentage>>, '' @keyframes/from'', or '' @keyframes/to''
368
- to the front of the list,
364
+ is found by shifting any keyframes whose offset was specified as
365
+ a <<percentage>>, '' @keyframes/from'' keyword, or '' @keyframes/to'' keyword
366
+ to the front of the list (after the generated |initial keyframe|, if any),
369
367
and performing a stable sort on these keyframes
370
368
by their |keyframe offset|s.
371
369
372
- ISSUE: It might be more natural to leave |final keyframe| at the end.
373
-
374
370
* The <dfn lt="used keyframe order">used order</dfn> of |keyframes|--
375
371
which is the order used to interpolate and compute the actual animation frames--
376
372
is found by attaching the |keyframes|
@@ -383,7 +379,8 @@ its associated [=keyframes=] are generated as follows:
383
379
sorts keyframes with <<percentage>> offsets,
384
380
it maintains keyframes specified with a <<timeline-range-name>>
385
381
in their [=specified keyframe order=]--
386
- after any <<percentage>> keyframes,
382
+ after any <<percentage>> keyframes
383
+ (other than a generated |final keyframe|),
387
384
even if these come later in the [=used keyframe order=].
388
385
389
386
<h2 id="animation-definition">
0 commit comments