Skip to content

[scroll-animations-1] Let view-timeline-inset adjust start/end only #7695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions scroll-animations-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ spec: cssom-view-1; type: dfn;

<pre class='propdef'>
Name: view-timeline-inset
Value: [ auto | <<length-percentage>> ]{1,4}
Value: [ auto | <<length-percentage>> ]{1,2}
Initial: 0
Applies to: all elements
Inherited: no
Expand All @@ -506,8 +506,9 @@ spec: cssom-view-1; type: dfn;
defines an inward offset from the corresponding edge of the scrollport.
</dl>

The 'view-timeline-inset' property assigns its values to each side
exactly as the 'margin' property does.
The first value of 'view-timeline-inset' applies to the [=start=] side of the scrollport,
and the second value (if present) applies to the [=end=] side.
If the second value is not present, the first value also applies to the end side.

ISSUE: Should the initial value be zero or auto?

Expand Down