@@ -218,6 +218,25 @@ spec: cssom-view-1; type: dfn;
218218 See value definitions for <<axis>> , above.
219219 </dl>
220220
221+ Inherited attributes:
222+ <dl>
223+ : {{AnimationTimeline/currentTime}} (inherited from {{AnimationTimeline}} )
224+ :: Represents the scroll progress of the [=scroll container=]
225+ as a percentage CSSUnitValue,
226+ with 0% representing its startmost scroll position
227+ (in the [=writing mode=] of the [=scroll container=] ).
228+ Null when the timeline is [=timeline inactive phase|inactive=] .
229+ </dl>
230+
231+ ISSUE: While 0% will usually represent the [=scroll container=] ’s initial scroll position,
232+ it might not depending on its [=content distribution=] .
233+ See [[css-align-3#overflow-scroll-position]] .
234+ Is this what we want?
235+ <!-- turn this into a note instead of a question once resolved -->
236+
237+ ISSUE: Add a note about whether {{AnimationTimeline/currentTime}}
238+ can be negative or > 100%.
239+
221240 <dl class="constructors">
222241 : <dfn constructor for=ScrollTimeline lt="ScrollTimeline(options)">ScrollTimeline(options)</dfn>
223242 :: Creates a new {{ScrollTimeline}} object using the following procedure:
@@ -240,25 +259,6 @@ spec: cssom-view-1; type: dfn;
240259 to the corresponding value from |options|.
241260 </dl>
242261
243- Inherited attributes:
244- <dl>
245- : {{AnimationTimeline/currentTime}} (inherited from {{AnimationTimeline}} )
246- :: Represents the scroll progress of the [=scroll container=]
247- as a percentage CSSUnitValue,
248- with 0% representing its startmost scroll position
249- (in the [=writing mode=] of the [=scroll container=] ).
250- Null when the timeline is [=timeline inactive phase|inactive=] .
251- </dl>
252-
253- ISSUE: While 0% will usually represent the [=scroll container=] ’s initial scroll position,
254- it might not depending on its [=content distribution=] .
255- See [[css-align-3#overflow-scroll-position]] .
256- Is this what we want?
257- <!-- turn this into a note instead of a question once resolved -->
258-
259- ISSUE: Add a note about whether {{AnimationTimeline/currentTime}}
260- can be negative or > 100%.
261-
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=] ,
@@ -393,20 +393,6 @@ spec: cssom-view-1; type: dfn;
393393 this is to keep them consistent with {{AnimationTimeline/currentTime}} ,
394394 which represents the currently-active position on the same scale.
395395
396- <dl class="constructors">
397- : <dfn constructor for=ViewTimeline lt="ViewTimeline(options)">ViewTimeline(options)</dfn>
398- :: Creates a new {{ViewTimeline}} object using the following procedure:
399-
400- 1. Let |timeline| be the new {{ViewTimeline}} object.
401-
402- 1. Set the {{ViewTimeline/subject}} and {{ScrollTimeline/axis}} properties of |timeline|
403- to the corresponding values from |options|.
404-
405- 1. Set the {{ScrollTimeline/source}} of |timeline|
406- to the {{ViewTimeline/subject}} ’s
407- nearest ancestor [=scroll container=] element.
408- </dl>
409-
410396 Inherited attributes:
411397
412398 <dl>
@@ -428,6 +414,20 @@ spec: cssom-view-1; type: dfn;
428414 Null when the timeline is [=timeline inactive phase|inactive=] .
429415 </dl>
430416
417+ <dl class="constructors">
418+ : <dfn constructor for=ViewTimeline lt="ViewTimeline(options)">ViewTimeline(options)</dfn>
419+ :: Creates a new {{ViewTimeline}} object using the following procedure:
420+
421+ 1. Let |timeline| be the new {{ViewTimeline}} object.
422+
423+ 1. Set the {{ViewTimeline/subject}} and {{ScrollTimeline/axis}} properties of |timeline|
424+ to the corresponding values from |options|.
425+
426+ 1. Set the {{ScrollTimeline/source}} of |timeline|
427+ to the {{ViewTimeline/subject}} ’s
428+ nearest ancestor [=scroll container=] element.
429+ </dl>
430+
431431 If the {{ScrollTimeline/source}} or {{ViewTimeline/subject}} of a {{ViewTimeline}}
432432 is an element whose [=principal box=] does not exist,
433433 then its {{AnimationTimeline/phase}} is the [=timeline inactive phase=] .
0 commit comments