Closed Bug 1766655 Opened 2 years ago Closed 2 years ago

Generalize PercentOrNone a bit more.

Categories

(Core :: CSS Transitions and Animations, task)

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.

cross-fade() was kinda doing this in its own way with PercentOrNone, but
since now we have more use-cases for this we should probably make this a
slightly more general solution.

I added some convenience APIs, but they're unused as of this patch so
let me know if you want them gone.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4ddbc96bfc63 Introduce Optional<T> to represent optional values in the style system. r=dshin
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: