Some column set frame cleanup
Categories
(Core :: Layout: Columns, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(7 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 | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Some cleanup I'd like to do while figuring out how column reflow works.
Assignee | ||
Comment 1•6 years ago
|
||
No code after FindBestBalanceBSize() is interested in
aUnboundedLastColumn and aRunWasFeasible, so they don't need to be
input/output arguments.
Assignee | ||
Comment 2•6 years ago
|
||
Depends on D28009
Assignee | ||
Comment 3•6 years ago
|
||
The static function is used only in nsColumnSetFrame's implementation.
Depends on D28010
Assignee | ||
Comment 4•6 years ago
|
||
I manually search "height" and replace it with "block-size" if the code
around it uses logical coordinates.
Depends on D28011
Assignee | ||
Comment 5•6 years ago
|
||
ColumnBalanceData is reset in the beginning of ReflowChildren(), so I
make ReflowChildren() return a fresh ColumnBalanceData so that it's
easier (at least for me) to understand the data is recomputed in
every reflow iteration.
Also, FindBestBalanceBSize() uses ColumnBalanceData as an input to begin
its column balancing iteration. Make the argument pass by value so that
the caller's copy won't be modified.
Depends on D28012
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D28013
Assignee | ||
Comment 7•6 years ago
|
||
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7ccd0940d635
https://hg.mozilla.org/mozilla-central/rev/ba82a40db675
https://hg.mozilla.org/mozilla-central/rev/d4cf957cb4d3
https://hg.mozilla.org/mozilla-central/rev/31d11b8fca06
https://hg.mozilla.org/mozilla-central/rev/93a076c63319
https://hg.mozilla.org/mozilla-central/rev/4120cfae1936
https://hg.mozilla.org/mozilla-central/rev/60b2b50f00a7
Description
•