Closed
Bug 1405983
Opened 7 years ago
Closed 7 years ago
Displaying of delay area in summary graph is wrong in case of 'fill' is none or forwards
Categories
(DevTools :: Inspector: Animations, enhancement, P3)
DevTools
Inspector: Animations
Tracking
(firefox57 fix-optional, firefox58 fixed)
RESOLVED
FIXED
Firefox 58
Tracking | Status | |
---|---|---|
firefox57 | --- | fix-optional |
firefox58 | --- | fixed |
People
(Reporter: daisuke, Assigned: daisuke)
Details
Attachments
(4 files)
If displayed animation has 'delay' and 'fill' is 'none' or 'forwards', the 'delay' area in summary graph displays max value.
But we should display it's value as 0 since the summary graph should display animation progress which includes easing in keyframes.
Assignee | ||
Comment 1•7 years ago
|
||
test code.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
Updated•7 years ago
|
status-firefox57:
--- → fix-optional
Priority: -- → P3
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8915580 [details]
Bug 1405983 - Part 1: Display delay area in summary graph as 0 if fill is none or forwards.
https://reviewboard.mozilla.org/r/186774/#review192702
::: devtools/client/animationinspector/graph-helper.js:371
(Diff revision 1)
> + // Set 0 as default value since if displayed animation has delay, get original
> + // style( default value of opacity 1.0) of targetEl.
I don't understand this comment. Can you try to rephrase please? Or explain in a bugzilla comment, maybe I'm just missing something.
Attachment #8915580 -
Flags: review?(pbrosset) → review+
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8915581 [details]
Bug 1405983 - Part 2: Modify tests for delay.
https://reviewboard.mozilla.org/r/186776/#review192728
Attachment #8915581 -
Flags: review?(pbrosset) → review+
Comment 7•7 years ago
|
||
(In reply to Patrick Brosset <:pbro> from comment #5)
> Comment on attachment 8915580 [details]
> Bug 1405983 - Part 1: Display delay area in summary graph as 0 if fill is
> none or forwards.
>
> https://reviewboard.mozilla.org/r/186774/#review192702
>
> ::: devtools/client/animationinspector/graph-helper.js:371
> (Diff revision 1)
> > + // Set 0 as default value since if displayed animation has delay, get original
> > + // style( default value of opacity 1.0) of targetEl.
>
> I don't understand this comment. Can you try to rephrase please? Or explain
> in a bugzilla comment, maybe I'm just missing something.
I haven't looked at the patch, but just looking at this comment (and based on my discussion with Daisuke-san about this bug) I suspect this should be something like:
// Set the underlying opacity to zero so that if we sample the animation's output
// during the delay phase and it is not filling backwards, we get zero.
Assignee | ||
Comment 8•7 years ago
|
||
Wao, thank you, Brian!
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 11•7 years ago
|
||
Pushed by dakatsuka@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c2d9bd9f5561
Part 1: Display delay area in summary graph as 0 if fill is none or forwards. r=pbro
https://hg.mozilla.org/integration/autoland/rev/34563d832147
Part 2: Modify tests for delay. r=pbro
Comment 12•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c2d9bd9f5561
https://hg.mozilla.org/mozilla-central/rev/34563d832147
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•