Skip to content

Commit b97f852

Browse files
Fix the definitions for fill forwards/backwards (#38)
Although correct in the currentTime algorithm, the definitions were inverted. Swap them with each other so that the definition matches what they actually mean.
1 parent 1d84018 commit b97f852

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Overview.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -460,31 +460,31 @@ not by wall-clock time, but by the progress of scrolling in a [=scroll container
460460

461461
: none
462462
:: The timeline is inactive when the scroll offset is less than {{startScrollOffset}}
463-
or greater than {{endScrollOffset}}.
463+
or greater than or equal to {{endScrollOffset}}.
464464

465465
: forwards
466466
:: When the scroll offset is less than {{startScrollOffset}}, the
467-
timeline's [=current time=] is 0.
468-
When the scroll offset is greater than {{endScrollOffset}}, the
469467
timeline is inactive.
468+
When the scroll offset is greater than or equal to the
469+
{{endScrollOffset}}, the timeline's [=current time=] is its
470+
[=effective time range=].
470471

471472
: backwards
472473
:: When the scroll offset is less than {{startScrollOffset}}, the
473-
timeline is inactive.
474-
When the scroll offset is greater than {{endScrollOffset}}, the
475-
timeline's [=current time=] is its
476-
[=effective time range=].
474+
timeline's [=current time=] is 0.
475+
When the scroll offset is greater than or equal to the
476+
{{endScrollOffset}}, the timeline is inactive.
477477

478478
: both
479479
:: When the scroll offset is less than {{startScrollOffset}}, the
480480
timeline's [=current time=] is 0.
481-
When the scroll offset is greater than {{endScrollOffset}}, the
482-
timeline's [=current time=] is its
481+
When the scroll offset is greater than or equal to the
482+
{{endScrollOffset}}, the timeline's [=current time=] is its
483483
[=effective time range=].
484484

485485
: auto
486486
:: Behaves the same as both.
487-
487+
488488
489489

490490
### The effective time range of a {{ScrollTimeline}} ### {#efffective-time-range-algorithm}

0 commit comments

Comments
 (0)