10BC0 [scroll-animations-1] Define how the `source` member of a `ScrollTimeline` corresponding to a `scroll()` timeline is updated · Issue #8204 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[scroll-animations-1] Define how the source member of a ScrollTimeline corresponding to a scroll() timeline is updated #8204

@birtles

Description

@birtles

https://drafts.csswg.org/scroll-animations-1/#dom-scrolltimelineoptions-source

I might be misunderstanding how all this works but if I define an anonymous scroll timeline in CSS using the scroll() notation, then inspect the corresponding Animation object's timeline I assume I can inspect the ScrollTimeline.source to see what element root or nearest resolved to.

If I then modify the CSS of an ancestor element such that root or nearest resolve to a different element, is the same ScrollTimeline object updated? If so do we need to specify a procedure for updating the source of a ScrollTimeline? Or is a new ScrollTimeline minted? In either case we'd need to define it because the result would be observable.

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

      0