DevTools support for scroll timelines

NEW
Unassigned

Status

DevTools
Animation Inspector
P3
enhancement
a year ago
a month ago

People

(Reporter: botond, Unassigned, NeedInfo)

Tracking

(Depends on: 1 bug, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
In bug 1321428, I will be landing an initial implementation of scroll timelines, which are part of the WIP scroll-linked animations spec [1].

I haven't yet thought much about what, if any, support the feature will need from DevTools. For now, I'm just filing this tracking bug in advance of sending out an "Intent to implement" email.

[1] https://wicg.github.io/scroll-animations/
Brian and/or Daisuke might have ideas about what kind of support we will need already.
Component: Developer Tools → Developer Tools: Animation Inspector
Flags: needinfo?(dakatsuka)
Flags: needinfo?(bbirtles)
I suppose we need to represent the different timelines, perhaps as separate "subheadings" in the animations panel? i.e. group them by timeline with the default document timeline first, followed by other timelines (ordered by number of active animations? earliest start time?). In fact, we should probably already be doing this for timelines created using `new DocumentTimeline()`. We'll need labels to these timelines too (e.g. 'Scroll timeline for <div#container>' or something like that).

It probably makes sense to design the animation grouping feature at the same time so that the interaction between the two features makes sense.

The other difference is that we shouldn't just assume these scroll timelines advance at a fixed rate. Instead we probably need to query the timeline's currentTime every frame.
Flags: needinfo?(bbirtles)
Inspector bug triage (filter on CLIMBING SHOES).
Severity: normal → enhancement
Priority: -- → P3

Updated

a month ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.