Closed Bug 1333311 Opened 4 years ago Closed 3 years ago

stylo: Remove the duplicated code in KeyframeEffectReadOnly::ComposeStyle

Categories

(Core :: DOM: Animation, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: boris, Unassigned)

References

Details

According to Bug 1317209 Comment 36, both branches (i.e. Gecko and Servo) have the zero-length segment handling and the interpolate/<0.5/>=0.5 cases, which look very similar. It's better to refactor this part, so we can also reuse the code while implementing accumulate and addition.
Priority: -- → P3
Assignee: boris.chiou → nobody
The whole of stuff in ComposeStyleRule() for servo has been moved in Rust side in bug 1311257.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.