Support pushing and splitting flex items for multi-line column-oriented flex containers
Categories
(Core :: Layout: Flexbox, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
References
(Blocks 1 open bug)
Details
(Whiteboard: [layout:backlog])
Attachments
(3 files)
To break the scope of bug 939897, we plan to support shifting or splitting flex items for multi-line column-oriented flex containers in this bug.
Comment 1•4 years ago
|
||
nit: "pushing" is the term we use internally, so it's probably better to continue using that instead of "shifting" to avoid confusion.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Although this goes against the suggestion of sample algorithm in the
spec, this brings the layout of the multi-line column-oriented flex
container in paginated context closer to the layout with no
fragmentation. This is also matches Google Chrome's behavior.
Tweak flexbox-unbreakable-child-2.html so that it matches the rendering
as of this patch. Change the height of .muticol
and the removal of
border in flexContainer
to let two flex items exactly fit the flex
container's height, making reference easier to write.
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D87107
Assignee | ||
Comment 4•4 years ago
|
||
We do the flex algorithm by assuming the available block-size is
unconstrained. Thus, we can remove availableBSizeForContent
and
aStatus
passing to DoFlexLayout(), ComputeMainSize(), and
ComputeCrossSize().
Depends on D87108
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b1220dc3ec09 Part 1 - Stop considering available block-size when wrapping flex lines in multi-line column-oriented flex container. r=dholbert https://hg.mozilla.org/integration/autoland/rev/cd972e86c6d5 Part 2 - Add reftests for fragmenting multi-line column-oriented flex containers. r=dholbert https://hg.mozilla.org/integration/autoland/rev/fee27d9109bb Part 3 - Remove unused parameters from DoFlexLayout(), ComputeMainSize(), and ComputeCrossSize(). r=dholbert
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b1220dc3ec09
https://hg.mozilla.org/mozilla-central/rev/cd972e86c6d5
https://hg.mozilla.org/mozilla-central/rev/fee27d9109bb
Description
•