@@ -47,15 +47,22 @@ spec: cssom-view-1; type: dfn;
47
47
These <dfn>scroll-driven animations</dfn>
48
48
use a timeline based on scroll position,
49
49
rather than one based on clock time.
50
- Animations are linked to such a timeline
51
- using the CSS 'animation-timeline' property
52
- or the Web Animations API.
50
+ This module provides both an imperative API building on the Web Animations API
51
+ as well as a declarative API building on CSS Animations.
53
52
<!-- [[!CSS-ANIMATIONS-2]] bikeshed chokes on this -->
54
53
[[!WEB-ANIMATIONS-1]]
55
54
56
55
There are two types of scroll-driven timelines:
57
- * [=scroll progress timelines=]
58
- * [=view progress timelines=]
56
+ * [[#scroll-timelines|Scroll Progress Timelines]] ,
57
+ which are linked to the scroll progress of a particular [=scroll container=]
58
+ * [[#view-timelines|View Progress Timelines]] ,
59
+ which are linked to the view progress of a particular [=box=] through a [=scrollport=]
60
+
61
+ Note: [=Scroll-driven animations=] ,
62
+ whose progress is linked to the scroll position,
63
+ are distinct from scroll-triggered animations,
64
+ which are triggered by a scroll position,
65
+ but whose progress is driven by time.
59
66
60
67
## Relationship to other specifications ## {#other-specs}
61
68
0 commit comments