Closed
Bug 1601298
Opened 4 years ago
Closed 4 years ago
Initialize flex container and its helper classes' members in the declaration
Categories
(Core :: Layout: Flexbox, task)
Core
Layout: Flexbox
Tracking
()
RESOLVED
FIXED
mozilla73
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
References
Details
Attachments
(5 files)
We might need to tweak some members' initial value in the flex container or add new members in bug 1155772. Initializing members directly in the declaration can also avoid some duplicate if the class has more than one constructor like FlexItem
.
Assignee | ||
Comment 1•4 years ago
|
||
In this way, we can avoid duplicates in FlexItem's normal constructor
and 'struct' constructor.
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D55821
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D55822
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D55823
Assignee | ||
Comment 5•4 years ago
|
||
Depends on D55824
Updated•4 years ago
|
Attachment #9113495 -
Attachment description: Bug 1601298 - Initialize nsFlexContainerFrame's memebers in the declaration. r=dholbert → Bug 1601298 - Initialize nsFlexContainerFrame's members in the declaration. r=dholbert
Updated•4 years ago
|
Attachment #9113493 -
Attachment is obsolete: true
Updated•4 years ago
|
Attachment #9113493 -
Attachment is obsolete: false
Updated•4 years ago
|
Attachment #9113491 -
Attachment description: Bug 1601298 - Initialize FlexItem's members in the declaration. r=dholbert → Bug 1601298 - Initialize FlexItem's members in the declaration.
Updated•4 years ago
|
Attachment #9113492 -
Attachment description: Bug 1601298 - Initialize FlexLine's members in the declaration. r=dholbert → Bug 1601298 - Initialize FlexLine's members in the declaration.
Updated•4 years ago
|
Attachment #9113494 -
Attachment description: Bug 1601298 - Initialize PositionTracker and its derived classes' members in the declaration. r=dholbert → Bug 1601298 - Initialize PositionTracker and its derived classes' members in the declaration.
Updated•4 years ago
|
Attachment #9113495 -
Attachment description: Bug 1601298 - Initialize nsFlexContainerFrame's members in the declaration. r=dholbert → Bug 1601298 - Initialize nsFlexContainerFrame's members in the declaration.
Updated•4 years ago
|
Attachment #9113493 -
Attachment description: Bug 1601298 - Initialize FlexboxAxisTracker's members in the declaration. r=dholbert → Bug 1601298 - Initialize FlexboxAxisTracker's members in the declaration.
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/3f070b6b84df Initialize FlexItem's members in the declaration. r=mats https://hg.mozilla.org/integration/autoland/rev/c387f75639de Initialize FlexLine's members in the declaration. r=dholbert https://hg.mozilla.org/integration/autoland/rev/7d3276828f19 Initialize PositionTracker and its derived classes' members in the declaration. r=mats https://hg.mozilla.org/integration/autoland/rev/81e6c6f4deef Initialize nsFlexContainerFrame's members in the declaration. r=dholbert https://hg.mozilla.org/integration/autoland/rev/f30220bcafdc Initialize FlexboxAxisTracker's members in the declaration. r=mats
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3f070b6b84df
https://hg.mozilla.org/mozilla-central/rev/c387f75639de
https://hg.mozilla.org/mozilla-central/rev/7d3276828f19
https://hg.mozilla.org/mozilla-central/rev/81e6c6f4deef
https://hg.mozilla.org/mozilla-central/rev/f30220bcafdc
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox73:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in
before you can comment on or make changes to this bug.
Description
•