Closed
Bug 1355761
Opened 8 years ago
Closed 8 years ago
stylo: Should check interpolable in needs_transitions_update_per_property()
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1387939
People
(Reporter: boris, Assigned: boris)
References
Details
According to Bug 1341372 Comment 59, there are cases that property is animtable but the before_change and after_change are not able to be interpolable, e.g. 'auto' to something. But unfortunately does_animate() [1] does not check it at all so far.
[1] http://searchfox.org/mozilla-central/rev/2fc8c8d483d9ec9fd0ec319c6c53807f7fa8e8a2/servo/components/style/properties/helpers/animated_properties.mako.rs#202-212
Assignee | ||
Updated•8 years ago
|
Priority: P1 → P2
Comment 1•8 years ago
|
||
Note that as of changeset 4c45c167a91b7c6554d5a3cfd81aa74c46937ac5 we don't call `does_animate` anymore.[1] The fact that needs_transitions_update_per_property does not check for interpolability still exists, however. As far as I can tell, this is just a minor optimization though, right?
http://searchfox.org/mozilla-central/diff/4c45c167a91b7c6554d5a3cfd81aa74c46937ac5/servo/components/style/gecko/wrapper.rs#1329
Comment 2•8 years ago
|
||
Yes, right, this is a kind of optimizations.
Updated•8 years ago
|
Summary: stylo: AnimatedProperty::does_animate() needs also check interpolable. → stylo: Should check interpolable in needs_transitions_update_per_property()
Updated•8 years ago
|
Priority: P2 → --
Comment 4•8 years ago
|
||
If this is blocking test_transitions_per_property.html from passing then it's clearly not just an optimization.
Priority: P4 → P2
Comment 5•8 years ago
|
||
I am going to fix this in bug 1387939.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•