File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ spec: cssom-view-1; type: dfn;
346346
347347 <pre class="idl">
348348 dictionary ViewTimelineOptions {
349- Element source ;
349+ Element subject ;
350350 ScrollDirection axis = "block";
351351 };
352352
@@ -398,6 +398,10 @@ spec: cssom-view-1; type: dfn;
398398
399399 1. Set the {{ViewTimeline/subject}} and {{ScrollTimeline/axis}} properties of |timeline|
400400 to the corresponding values from |options|.
401+
402+ 1. Set the {{ScrollTimeline/source}} of |timeline|
403+ to the {{ViewTimeline/subject}} ’s
404+ nearest ancestor [=scroll container=] element.
401405 </dl>
402406
403407 Inherited attributes:
@@ -422,8 +426,7 @@ spec: cssom-view-1; type: dfn;
422426 </dl>
423427
424428 If the {{ScrollTimeline/source}} or {{ViewTimeline/subject}} of a {{ViewTimeline}}
425- is an element whose [=principal box=] does not exist
426- or is not a [=scroll container=] ,
429+ is an element whose [=principal box=] does not exist,
427430 then its {{AnimationTimeline/phase}} is the [=timeline inactive phase=] .
428431 The timeline is otherwise
429432 * in the [=timeline before phase|before=] phase when {{AnimationTimeline/currentTime}} < {{ViewTimeline/startTime}}
You can’t perform that action at this time.
0 commit comments