Eliminate IPDL-specific Class for Passing ComputedTimingFunction Around
Categories
(Core :: CSS Transitions and Animations, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: dshin, Assigned: dshin)
References
Details
Attachments
(1 file)
In Rust, we use a generic linear easing function struct for specified & computed values. However, with bug 1764126 implementing linear(...)
, easing functions no longer have 1:1 mapping between specified (i.e. form that accommodates for parsing and printing) & computed (i.e. form that can be queried for output) values. This causes conversions back and forth between the computed & specified values.
May need a separate implementation to avoid this.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
While what is said in comment #0 is true, we should avoid stuffing this non-1:1 mapping into specified/computed value, which have very specific definitions by the standard. Perhaps a wrapper object containing additional data for linear function can be defined as Rust/C++ timing function computations get merged in bug 1766041.
This ticket tracks another angle to reduce complexity of passing computed timing functions around by eliminating the IPDL definition of it and using Rust's definitions.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Comment 4•3 years ago
|
||
bugherder |
Description
•