Skip to content

[scroll-animations-1] Consider initial value of auto for view-timeline-inset #7747

Closed
@flackr

Description

@flackr

We previously discussed the scroll-animations-1 view-timeline-inset in the August F2F discussion here and at the time I didn't object to an initial value of 0 based on the understanding that the default for scroll-padding was to include some overlap, so we left it as that. However, looking into this, it seems that the overlap in page-down is not part of scroll-padding but in addition to it, as can be seen on this demo with scroll-padding: 0px where page down scrolls 87.5% of the optimal viewing region defined by the 0px scroll-padding.

Given that the default page-down overlap is not part of scroll-padding, and that the default scroll-padding: auto is typically 0 but allowed to avoid obscured fixed position areas I think that we should make auto the default for view-timeline-inset since most of the time a developer would want to avoid those obscured regions for view timelines as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions