You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:: Represents the starting (0% progress) scroll position
425
422
of the [=view progress timeline=]
426
-
as its [=scroll container=]’s scroll offset in ''px''
427
-
when the timeline is [=timeline active phase|active=].
428
-
Null when it is [=timeline inactive phase|inactive=].
423
+
as its [=scroll container=]’s scroll offset in ''px''.
424
+
Null when the timeline is [=timeline inactive phase|inactive=].
429
425
430
426
: {{ScrollTimeline/endTime}} (inherited from {{ScrollTimeline}}
431
427
:: Represents the ending (100%) scroll position
432
428
of the [=view progress timeline=]
433
-
as its [=scroll container=]’s scroll offset in ''px''
434
-
when the timeline is [=timeline active phase|active=].
435
-
Null when it is [=timeline inactive phase|inactive=].
429
+
as its [=scroll container=]’s scroll offset in ''px''.
430
+
Null when the timeline is [=timeline inactive phase|inactive=].
436
431
437
432
: {{AnimationTimeline/currentTime}} (inherited from {{AnimationTimeline}}
438
433
:: Represents the current progress
439
434
of the [=view progress timeline=]
440
-
as its [=scroll container=]’s scroll offset in ''px''
441
-
when the timeline is [=timeline active phase|active=].
442
-
Null when it is [=timeline inactive phase|inactive=].
435
+
as its [=scroll container=]’s scroll offset in ''px''.
436
+
Null when the timeline is [=timeline inactive phase|inactive=].
443
437
</dl>
444
438
445
439
If the {{ScrollTimeline/source}} or {{ViewTimeline/subject}} of a {{ViewTimeline}}
446
440
is an element whose [=principal box=] does not exist
447
441
or is not a [=scroll container=],
448
-
then the {{AnimationTimeline/phase}} is the [=timeline inactive phase=].
449
-
It is otherwise in the [=timeline active phase|active=] phase.
442
+
then its {{AnimationTimeline/phase}} is the [=timeline inactive phase=].
443
+
The timeline is otherwise
444
+
* in the [=timeline before phase|before=] phase when {{AnimationTimeline/currentTime}} < {{ScrollTimeline/startTime}}
445
+
* in the [=timeline active phase|active=] phase when {{ScrollTimeline/startTime}} ≤ {{AnimationTimeline/currentTime}} ≤ {{ScrollTimeline/endTime}}
446
+
* in the [=timeline after phase|after=] phase when {{ScrollTimeline/endTime}} < {{AnimationTimeline/currentTime}}
450
447
451
448
ISSUE: Figure out how to incorporate fit/inset abilities.
0 commit comments