Closed
Bug 1310015
Opened 8 years ago
Closed 8 years ago
[css-flexbox][css-align] MainAxisTracker inappropriately compares mJustifyContent against NS_STYLE_ALIGN constants
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: bradwerth, Assigned: bradwerth)
References
Details
Attachments
(1 file)
The constructor for MainAxisTracker uses NS_STYLE_ALIGN constants in one section, when it should use NS_STYLE_JUSTIFY constants throughout. The constants are equivalent at the moment, but the use is semantically wrong and should be fixed.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8800863 [details]
Bug 1310015: Change MainAxisTracker to consistently use NS_STYLE_JUSTIFY constants.
https://reviewboard.mozilla.org/r/85688/#review84370
(Stealing the review since dholbert is on PTO.)
Yes, for readability it's better to compare 'justify' values to NS_STYLE_JUSTIFY_ constants,
even though they are always the same as NS_STYLE_ALIGN_ constants.
Attachment #8800863 -
Flags: review+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/3ccac82a6bcf
Change MainAxisTracker to consistently use NS_STYLE_JUSTIFY constants. r=mats
Keywords: checkin-needed
Comment 4•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Comment 5•8 years ago
|
||
[Looks like this still has "r?dholbert" in mozreview, and hence is still in my review queue. Updating "dholbert" to "mats" as the mozreview reviewer.]
Updated•8 years ago
|
Attachment #8800863 -
Flags: review?(dholbert)
You need to log in
before you can comment on or make changes to this bug.
Description
•