[css-flexbox-1] Flex container baselines with reverse direction.
Categories
(Core :: Layout: Flexbox, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: mozilla-apprentice, Assigned: TYLin)
References
(Blocks 2 open bugs)
Details
Attachments
(3 files)
A resolution was made for csswg-drafts/#7776.
[css-flexbox-1] Flex container baselines with reverse direction.
- RESOLVED: flex baselines take flex ordering into account so first/last use roughly *physical* directions
Assignee | ||
Comment 1•1 year ago
|
||
We've removed the ability to reverse flex container's axes internally in
bug 1639053.
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D181602
Assignee | ||
Comment 3•1 year ago
|
||
This is the spec describing flex container baselines.
https://drafts.csswg.org/css-flexbox-1/#flex-baselines
-
Separate the cache for last baseline in FlexItem. This is needed beacuse we set
an item's first baseline viaSetAscent()
after reflowing it. Any query to last
baseline viaResolvedAscent(false)
will wrongly return the first baseline. -
We used to compute flex container baseline from the first item in
ReflowChildren(). Now we consolidate all the logic computing flex container
baseline in PopulateReflowOutput().
Depends on D181603
Assignee | ||
Updated•1 year ago
|
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/89934b1a4eda Part 1 - Remove an obsolete comment for FlexLine::LastBaselineOffset(). r=dholbert https://hg.mozilla.org/integration/autoland/rev/347fcb9e0578 Part 2 - Pass FlexLayoutResult into PopulateReflowOutput(). r=dholbert https://hg.mozilla.org/integration/autoland/rev/895103478cfa Part 3 - Fix flex container baselines with reverse axes. r=dholbert
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/89934b1a4eda
https://hg.mozilla.org/mozilla-central/rev/347fcb9e0578
https://hg.mozilla.org/mozilla-central/rev/895103478cfa
Assignee | ||
Updated•1 year ago
|
Description
•