Skip to content

Commit abf2870

Browse files
committed
[scroll-animations-1] update references to timeline state w3c#7240
1 parent 2513f41 commit abf2870

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

scroll-animations-1/rewrite.bs

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ spec: cssom-view-1; type: dfn;
225225
as a percentage CSSUnitValue,
226226
with 0% representing its startmost scroll position
227227
(in the [=writing mode=] of the [=scroll container=]).
228-
Null when the timeline is [=timeline inactive phase|inactive=].
228+
Null when the timeline is [=timeline inactive state|inactive=].
229229
</dl>
230230

231231
ISSUE: While 0% will usually represent the [=scroll container=]’s initial scroll position,
@@ -262,8 +262,8 @@ spec: cssom-view-1; type: dfn;
262262
If the {{ScrollTimeline/source}} of a {{ScrollTimeline}}
263263
is an element whose [=principal box=] does not exist
264264
or is not a [=scroll container=],
265-
then the {{ScrollTimeline}} is in the [=timeline inactive phase=].
266-
It is otherwise in the [=timeline active phase|active=] phase.
265+
then the {{ScrollTimeline}} is [=timeline inactive state|inactive=].
266+
It is otherwise in the [=timeline active state|active=] [=timeline state=].
267267

268268
A {{ScrollTimeline}}’s {{EffectTiming/duration}} is 100%.
269269

@@ -378,14 +378,14 @@ spec: cssom-view-1; type: dfn;
378378
of the [=view progress timeline=]
379379
as a percentage {{CSSUnitValue}}
380380
representing its [=scroll container=]’s scroll progress at that position.
381-
Null when the timeline is [=timeline inactive phase|inactive=].
381+
Null when the timeline is [=timeline inactive state|inactive=].
382382

383383
: <dfn>endTime</dfn>
384384
:: Represents the ending (100%) scroll position
385385
of the [=view progress timeline=]
386386
as a percentage {{CSSUnitValue}}
387387
representing its [=scroll container=]’s scroll progress at that position.
388-
Null when the timeline is [=timeline inactive phase|inactive=].
388+
Null when the timeline is [=timeline inactive state|inactive=].
389389
</dl>
390390

391391
Note: The {{ViewTimeline/startTime}} and {{ViewTimeline/endTime}} attributes
@@ -411,7 +411,7 @@ spec: cssom-view-1; type: dfn;
411411
of the [=view progress timeline=]
412412
as a percentage {{CSSUnitValue}}
413413
representing its [=scroll container=]’s scroll progress at that position.
414-
Null when the timeline is [=timeline inactive phase|inactive=].
414+
Null when the timeline is [=timeline inactive state|inactive=].
415415
</dl>
416416

417417
<dl class="constructors">
@@ -430,11 +430,8 @@ spec: cssom-view-1; type: dfn;
430430

431431
If the {{ScrollTimeline/source}} or {{ViewTimeline/subject}} of a {{ViewTimeline}}
432432
is an element whose [=principal box=] does not exist,
433-
then its {{AnimationTimeline/phase}} is the [=timeline inactive phase=].
434-
The timeline is otherwise
435-
* in the [=timeline before phase|before=] phase when {{AnimationTimeline/currentTime}} < {{ViewTimeline/startTime}}
436-
* in the [=timeline active phase|active=] phase when {{ViewTimeline/startTime}} &le; {{AnimationTimeline/currentTime}} &le; {{ViewTimeline/endTime}}
437-
* in the [=timeline after phase|after=] phase when {{ViewTimeline/endTime}} < {{AnimationTimeline/currentTime}}
433+
then the {{ViewTimeline}} is [=timeline inactive state|inactive=].
434+
It is otherwise in the [=timeline active state|active=] [=timeline state=].
438435

439436
ISSUE: Figure out how to incorporate fit/inset abilities.
440437

0 commit comments

Comments
 (0)