Open Bug 1299056 Opened 9 years ago Updated 3 years ago

Make StyleAnimationValue's static methods return Maybe rather than using bool with value reference

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

Tracking Status
firefox51 --- affected

People

(Reporter: xidorn, Unassigned)

Details

Returning Maybe should simplify code of those methods, and make it easier to add new units to StyleAnimationValue. It also forces callsites of those methods to check the return value, so that it is not possible to silently ignore the bool and use the potentially uninitialized value.
Assignee: nobody → xidorn+moz
Looks like a too big refactor which doesn't match its benefits.
Assignee: xidorn+moz → nobody
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.