Skip to content

Commit da302c5

Browse files
committed
[scroll-animations-2] Handle keyframes with offets < 0 or > 1. #7825
1 parent 9171cdf commit da302c5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

css-animations-2/Overview.bs

+7-3
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,13 @@ its associated [=keyframes=] are generated as follows:
348348
349349
1. Add to the |keyframe properties| of |initial keyframe| and |final keyframe|
350350
the [=computed value=] on |element|
351-
of each property in |animated properties|
352-
that is not already assigned to a [=keyframe=] in |keyframes|
353-
that has a matching |keyframe offset|.
351+
of each property in |animated properties|.
352+
Skip any property already declared by a [=keyframe=] in |keyframes|
353+
that has a matching |keyframe offset|
354+
or that is positioned
355+
earlier (for |initial keyframe|)
356+
or later (for |final keyframe|)
357+
in the [=used keyframe order=].
354358
355359
1. <strong>Sort Frames:</strong>
356360

0 commit comments

Comments
 (0)