Skip to content

Commit d618d51

Browse files
committed
[scroll-animations-1] Improve introduction.
1 parent 8f8d707 commit d618d51

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

scroll-animations-1/Overview.bs

+12-5
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,22 @@ spec: cssom-view-1; type: dfn;
4747
These <dfn>scroll-driven animations</dfn>
4848
use a timeline based on scroll position,
4949
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.
5352
<!-- [[!CSS-ANIMATIONS-2]] bikeshed chokes on this -->
5453
[[!WEB-ANIMATIONS-1]]
5554

5655
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.
5966

6067
## Relationship to other specifications ## {#other-specs}
6168

0 commit comments

Comments
 (0)