justify-content:left/right doesn't work with vertical row-oriented flexbox and abspos children
Categories
(Core :: Layout: Flexbox, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
References
(Blocks 2 open bugs)
Details
Attachments
(3 files)
+++ This bug was initially created as a clone of Bug #1715661 +++
My patch in bug 1715661 is not complete. justify-content:left/right
in vertical row-oriented flexbox maps to the wrong side.
For abspos children under flexbox, we failed this test https://wpt.live/css/css-flexbox/abspos/flex-abspos-staticpos-justify-content-vertWM-002.html
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Currently, we use IsPhysicalLTR() to query whether the start side of the
physical left <-> right axis. However, for vertical row-oriented flex
containers, physical left <-> right axis is its cross axis. We really should
query IsBidiLTR() instead because its main axis is parallel to line-left <->
line-right axis (i.e. inline axis).
flexbox-justify-content-wmvert-003.html is adapted from
flexbox-justify-content-wmvert-002.html.
Depends on D133167
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D133168
Comment 4•3 years ago
•
|
||
Marking this as blocking the compat2021 metabug, since part 3 here fixes our failure in WPT test flex-abspos-staticpos-justify-content-vertWM-002.html , which is in the compat2021 test set.
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dd1719d2c014
https://hg.mozilla.org/mozilla-central/rev/e31135ea4028
https://hg.mozilla.org/mozilla-central/rev/9eb74149f75b
Description
•