Closed
Bug 1171863
Opened 10 years ago
Closed 9 years ago
Refresh the animation panel timelines when the panel is resized
Categories
(DevTools :: Inspector: Animations, defect)
DevTools
Inspector: Animations
Tracking
(firefox45 fixed)
RESOLVED
FIXED
Firefox 45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: pbro, Assigned: pbro)
References
Details
(Whiteboard: [polish-backlog][difficulty=medium])
Attachments
(2 files, 2 obsolete files)
863.99 KB,
image/gif
|
Details | |
27.59 KB,
patch
|
tromey
:
review+
|
Details | Diff | Splinter Review |
STR:
- with bug 1155663 in open a page with animations
- open the animation inspector
- make sure animations are displayed
- resize the sidebar panel
ER: the timelines adapt on resize
AR: they don't!
Assignee | ||
Updated•9 years ago
|
Whiteboard: [polish-backlog]
Assignee | ||
Updated•9 years ago
|
Whiteboard: [polish-backlog] → [polish-backlog][difficulty=medium]
Assignee | ||
Comment 1•9 years ago
|
||
Working on this as part of 1197100. Turns out that removing all sizes in pixels and defining everything in % wasn't hard at all, so I'm going to do that.
The trick for the js-generated background and header is to have its size in % too, and have a debounced window resize handler that regenerates it.
Assignee: nobody → pbrosset
Assignee | ||
Comment 2•9 years ago
|
||
Code should be OK, but I need to fix the broken tests now (16 failures). These are expected because various tests expect positions to be in pixels.
Assignee | ||
Comment 3•9 years ago
|
||
Here's a what the UI looks like now with the patch applied.
Assignee | ||
Comment 4•9 years ago
|
||
And here's the final patch, with the impacted tests fixed.
Attachment #8692069 -
Attachment is obsolete: true
Attachment #8692159 -
Flags: review?(ttromey)
Assignee | ||
Comment 5•9 years ago
|
||
Forgot to remove an unrelated change.
Attachment #8692159 -
Attachment is obsolete: true
Attachment #8692159 -
Flags: review?(ttromey)
Attachment #8692166 -
Flags: review?(ttromey)
Assignee | ||
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
Comment on attachment 8692166 [details] [diff] [review]
Bug_1171863_-_Define_all_positions_and_sizes_in_pe.diff
Review of attachment 8692166 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good.
Attachment #8692166 -
Flags: review?(ttromey) → review+
I had to back this out for frequent failures in browser_animation_timeline_pause_button.js https://treeherder.mozilla.org/logviewer.html#?job_id=6006836&repo=fx-team
https://hg.mozilla.org/integration/fx-team/rev/1968000b4c04
Flags: needinfo?(pbrosset)
Assignee | ||
Comment 10•9 years ago
|
||
Damn, sorry about that, and thanks for backing out. I have a fix for this test. Will take it for a spin on try shortly.
Flags: needinfo?(pbrosset)
Assignee | ||
Comment 11•9 years ago
|
||
The fix I made for the test seems to be working fine on try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=0d49b95e49aa
Assignee | ||
Comment 13•9 years ago
|
||
Landed again with my test fix. Let's see if that stick. Given the many retriggers I did on try, it should.
Comment 14•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Assignee | ||
Updated•9 years ago
|
Component: Developer Tools: Inspector → Developer Tools: Animation Inspector
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•