Skip to content

Commit

Permalink
[scroll-animations-2] Handle keyframes with offets < 0 or > 1. w3c#7825
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Apr 11, 2023
1 parent f670c01 commit c7042af
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions css-animations-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,13 @@ its associated [=keyframes=] are generated as follows:

1. Add to the |keyframe properties| of |initial keyframe| and |final keyframe|
the [=computed value=] on |element|
of each property in |animated properties|
that is not already assigned to a [=keyframe=] in |keyframes|
that has a matching |keyframe offset|.
of each property in |animated properties|.
Skip any property already declared by a [=keyframe=] in |keyframes|
that has a matching |keyframe offset|
or that is positioned
earlier (for |initial keyframe|)
or later (for |final keyframe|)
in the [=used keyframe order=].

1. <strong>Sort Frames:</strong>

Expand Down

0 comments on commit c7042af

Please sign in to comment.