Closed Bug 1231945 Opened 9 years ago Closed 8 years ago

Display animation ID in the animation inspector timeline

Categories

(DevTools :: Inspector: Animations, defect)

defect
Not set
normal

Tracking

(firefox47 fixed)

RESOLVED FIXED
Firefox 47
Tracking Status
firefox47 --- fixed

People

(Reporter: pbro, Assigned: pbro)

References

Details

(Whiteboard: [devtools-platform])

Attachments

(1 file)

In the animation timeline, each displayed animation has got a name label.

For css animations it's the @keyframes rule name.
For css transitions it's the transitioned property.

The WebAnimations API also introduces JS-generated animations and that's being implemented now. These can get an ID defined by authors.
Using the API, authors can also set IDs for CSS animations.

So, we should change the way the animation name is retrieved in the AnimationPlayerActor so that, if there's an ID, then use this.
Depends on: 1179627
Component: Developer Tools: Inspector → Developer Tools: Animation Inspector
Assignee: nobody → pbrosset
Attachment #8714733 - Flags: review?(ttromey) → review+
Comment on attachment 8714733 [details]
MozReview Request: Bug 1231945 - Display animation.id when it exists; r=tromey

https://reviewboard.mozilla.org/r/33235/#review29997

Looks great.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/673d0e96112b
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Depends on: 1246281
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: