Open
Bug 1469789
Opened 7 years ago
Updated 3 years ago
Doing animation restyles even when the animation has no valid properties.
Categories
(Core :: CSS Parsing and Computation, enhancement, P3)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: emilio, Unassigned)
Details
From bug 1469076, whose crashtest contains a line like:
a.parentElement.animate({"ping": [0, 1]}, 0.281207776578);
> I wonder if it's expected that we do animation restyles when the animation doesn't have any valid properties in it like this.
Is it expected? :)
| Reporter | ||
Comment 1•7 years ago
|
||
Hiro, Brian, do you know if comment 0 is expected? It may be the case that we can optimize stuff out and just isn't worth the complexity. I'd be fine with that :)
Flags: needinfo?(hikezoe)
Flags: needinfo?(bbirtles)
Comment 2•7 years ago
|
||
Of course not. In normal styling (i.e. kicked by refresh driver's tick), we do skip restyles for such animations [1], but we don't skip restyling in force flush?
[1] https://searchfox.org/mozilla-central/source/dom/animation/KeyframeEffect.cpp#183
Flags: needinfo?(hikezoe)
Comment 3•7 years ago
|
||
As Hiro points out, we definitely shouldn't do animation restyles in that case.
Flags: needinfo?(bbirtles)
Updated•7 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•