Minor flexbox cleanup again
Categories
(Core :: Layout: Flexbox, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox75 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(6 files)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
Similar to bug 1614082, I have some patches accumulated while poking flexbox' code.
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
finalFlexItemCBSize sounds like the size of the "containing block" of
the flex item, which feels wrong to me.
Depends on D64676
| Assignee | ||
Comment 3•6 years ago
|
||
If nsPresContext is needed, we can always use nsIFrame::PresContext() to
retrieve it. This is what grid container does.
Depends on D64677
| Assignee | ||
Comment 4•6 years ago
|
||
Depends on D64678
| Assignee | ||
Comment 5•6 years ago
|
||
IntrinsicISizeType is used only once. We can just prepend nsLayoutUtils
at the call site.
Depends on D64679
| Assignee | ||
Comment 6•6 years ago
|
||
With two minor tweaks:
-
Remove "mozilla/UniquePtr.h" from cpp since it is already included in
the header. -
Use "mozilla/WritingModes.h" instead "WritingModes.h" in cpp.
WritingModes.h was exported under "mozilla/", and it works without
"mozilla/" because we are in the same directory.
Depends on D64680
Comment 7•6 years ago
|
||
Thanks for doing this cleanup!
Comment 9•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4a389ce4d36d
https://hg.mozilla.org/mozilla-central/rev/a2d65bda6c55
https://hg.mozilla.org/mozilla-central/rev/2b7adf8582fa
https://hg.mozilla.org/mozilla-central/rev/1830e0579510
https://hg.mozilla.org/mozilla-central/rev/73e4191c4ef4
https://hg.mozilla.org/mozilla-central/rev/90fda57adf34
Description
•