Closed
Bug 1615156
Opened 5 years ago
Closed 5 years ago
Fix KeyframeEffect::ContainsAnimatedScale for cases we have no base style.
Categories
(Core :: DOM: Animation, defect, P3)
Core
DOM: Animation
Tracking
()
RESOLVED
FIXED
mozilla75
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
Details
Attachments
(1 file)
The baseStyle
is only set if there is an add/accumulate animation. So the code there should be;
AnimationValue baseStyle = BaseStyle(prop.mProperty);
if (!baseStyle.IsNull()) {
gfx::Size size = baseStyle.GetScaleValue(aFrame);
if (size != gfx::Size(1.0f, 1.0f)) {
return true;
}
}
I am going to fix this soon. That's said it's not with any automated tests since as far as I can tell this is not testable. There is another underlying issue which caused bug 1614788. And the underlying issue obscured this issue, as far as I can tell.
Assignee | ||
Comment 1•5 years ago
|
||
The base style is not set in cases where there is no additive/accumulative
animation.
Updated•5 years ago
|
Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Comment 2•5 years ago
|
||
Thanks for patching this!
Pushed by hikezoe.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/45c632e12bd6
Don't return true from KeyframeEffect::ContainsAnimatedScale if there is no base style. r=boris
Comment 4•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox75:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in
before you can comment on or make changes to this bug.
Description
•