Closed Bug 1530826 Opened 6 years ago Closed 6 years ago

Fix LengthPercentage computed value serialization when negative calc is involved.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

'calc(-2px)' is expected to compute to '0px' if the range should not allow negatives.

This is blocking me from migrating a lot of other properties from being serialized by Servo.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: