File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -555,23 +555,22 @@ spec: cssom-view-1; type: dfn;
555555 : <dfn>startOffset</dfn>
556556 :: Represents the starting (0% progress) scroll position
557557 of the [=view progress timeline=]
558- as a length offset (in ''px'' ) from the scroll origin.
558+ as a length offset (in ''px'' ) from the [= scroll origin=] .
559559 Null when the timeline is [=inactive timeline|inactive=] .
560560
561561 : <dfn>endOffset</dfn>
562562 :: Represents the ending (100% progress) scroll position
563563 of the [=view progress timeline=]
564- as a length offset (in ''px'' ) from the scroll origin.
564+ as a length offset (in ''px'' ) from the [= scroll origin=] .
565565 Null when the timeline is [=inactive timeline|inactive=] .
566566 </dl>
567567
568- Note: The value of {{ViewTimeline/startOffset}} can be greater than {{ViewTimeline/endOffset}} ,
568+ Note: The values of {{ViewTimeline/startOffset}} and {{ViewTimeline/endOffset}}
569+ are relative to the [=scroll origin=] , not the [=physical=] top left corner.
570+ Depending on the [=writing mode=] of the [=scroll container=] ,
571+ they therefore might not match {{Element/scrollLeft}} or {{Element/scrollTop}} values,
569572 for example in the [=horizontal axis=] in a right-to-left (''rtl'' ) [=writing mode=] .
570573
571- ISSUE: This makes the offsets compatible with the way scrollLeft and scrollTop work,
572- which go negative from zero in RTL scroll containers,
573- is this how we want it to work here?
574-
575574 Inherited attributes:
576575
577576 <dl>
You can’t perform that action at this time.
0 commit comments