Closed Bug 1526736 Opened 6 years ago Closed 6 years ago

Rename MozLength and MaxLength.

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

Details

Attachments

(1 file)

MozLength is not a very descriptive name. If we're going to use it in both Gecko and Servo we may as well name it something more accurate.

I would've chosen ContentSize if it wasn't a lie in present of box-sizing. I don't have better ideas than Size.

MozLength is not a very descriptive name. If we're going to use it in both Gecko
and Servo we may as well name it something more accurate.

I would've chosen ContentSize per CSS21 if it wasn't a lie in presence
of box-sizing. I don't have better ideas than Size, given that.

'size' is indeed the term used in css-sizing. https://drafts.csswg.org/css-sizing-3/#size

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/51d4957627fb Rename MozLength to Size, and MaxLength to MaxSize. r=heycam
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: