Closed Bug 1507311 Opened 3 years ago Closed 3 years ago

Simplify specified mask shorthand serialization when possible.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We serialize a really long string when we could skip initial values.

This will be particularly meaningful once bug 1507308 is fixed.
This helps to preserve the old longhand form when possible (mask used to be a
longhand), which will be relevant when we serialize this for the computed
value.
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/6c54e79a66b5
Make the serialization of the mask shorthand more compact. r=heycam
https://hg.mozilla.org/mozilla-central/rev/6c54e79a66b5
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.