Skip to content

Commit

Permalink
[scroll-animations-1] ScrollTimeline and ViewTimeline are inactive wh…
Browse files Browse the repository at this point in the history
…en there is nothing to scroll. #7401
  • Loading branch information
fantasai committed Sep 7, 2022
1 parent a606ce1 commit fdd21a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scroll-animations-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ spec: cssom-view-1; type: dfn;
If the {{ScrollTimeline/source}} of a {{ScrollTimeline}}
is an element whose [=principal box=] does not exist
or is not a [=scroll container=],
or if there is no [=scrollable overflow=],
then the {{ScrollTimeline}} is [=timeline inactive state|inactive=].
It is otherwise in the [=timeline active state|active=] [=timeline state=].

Expand Down Expand Up @@ -427,6 +428,7 @@ spec: cssom-view-1; type: dfn;

If the {{ScrollTimeline/source}} or {{ViewTimeline/subject}} of a {{ViewTimeline}}
is an element whose [=principal box=] does not exist,
or if its nearest ancestor [=scroll container=] has no [=scrollable overflow=],
then the {{ViewTimeline}} is [=timeline inactive state|inactive=].
It is otherwise in the [=timeline active state|active=] [=timeline state=].

Expand Down

0 comments on commit fdd21a5

Please sign in to comment.