Closed
Bug 1339765
Opened 9 years ago
Closed 8 years ago
Replace NS_STYLE_GRID_TRACK_BREADTH_* with enum classes
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: waffles, Assigned: waffles)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•8 years ago
|
||
The patch is required for auto-glue'ing Servo's (grid) TrackSize struct
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8838175 [details]
Bug 1339765 - Replace NS_STYLE_GRID_TRACK_BREADTH_* with enum classes;
https://reviewboard.mozilla.org/r/113146/#review114772
r=me with MaxContent = 1.
::: layout/style/nsStyleConsts.h:683
(Diff revision 1)
> // CSS Grid <track-breadth> keywords
> // Should not overlap with NS_STYLE_GRID_TEMPLATE_SUBGRID
> -#define NS_STYLE_GRID_TRACK_BREADTH_MAX_CONTENT 1
> -#define NS_STYLE_GRID_TRACK_BREADTH_MIN_CONTENT 2
> +enum class StyleGridTrackBreadth : uint8_t {
> + MaxContent,
> + MinContent,
> +};
I think we need to continue to avoid using 0 for these values, per the comment about not overlapping with NS_STYLE_GRID_TEMPLATE_SUBGRID.
Attachment #8838175 -
Flags: review?(cam) → review+
Comment hidden (mozreview-request) |
Pushed by Ms2ger@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/e2915a5e35cd
Replace NS_STYLE_GRID_TRACK_BREADTH_* with enum classes;r=heycam
Comment 7•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•