Skip to content

Commit 33978b9

Browse files
committed
[scroll-animations-1] Define interaction of iteration-count with absolute keyframes w3c#8233
1 parent 26eb703 commit 33978b9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

scroll-animations-1/Overview.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,15 @@ spec: cssom-view-1; type: dfn;
703703
and the resulting [=active duration=]--
704704
will be zero.
705705

706+
Animations that include absolutely-positioned keyframes
707+
(those pinned to a specific point on the timeline,
708+
e.g. using [[#named-range-keyframes|named timeline range keyframe selectors]] in ''@keyframes'')
709+
are assumed to have an [=iteration count=] of 1
710+
for the purpose of finding those keyframes’ positions
711+
relative to 0% and 100%;
712+
the entire animation is then scaled to fit the [=iteration duration=]
713+
and repeated for each iteration.
714+
706715
## Named Timeline Scoping ## {#timeline-scope}
707716

708717
A named [=scroll progress timeline=] or [=view progress timeline=]

0 commit comments

Comments
 (0)