Closed Bug 1518098 Opened 1 year ago Closed 1 year ago

Rename LengthOrPercentage.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(2 files)

LengthOrPercentage is a misnomer, since it represents a <length-percentage> value, not a <length> | <percentage>
It does not represent `<length> | <percentage>`, but `<length-percentage>`, so
`LengthOrPercentage` is not the right name.

This patch is totally autogenerated using:

rg 'LengthOrPercentage' servo | cut -d : -f 1 | sort | uniq > files
for file in $(cat files); do sed -i "s#LengthOrPercentage#LengthPercentage#g" $file; done
lop is not an acceptable variable name for LengthPercentage.

Depends on D15812
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7ca89c98ff5d
Rename LengthOrPercentage to LengthPercentage. r=jwatt#style
https://hg.mozilla.org/integration/autoland/rev/06c59ba512ba
Manually rename some variables. r=jwatt#style
https://hg.mozilla.org/mozilla-central/rev/7ca89c98ff5d
https://hg.mozilla.org/mozilla-central/rev/06c59ba512ba
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.