Closed
Bug 1712875
Opened 4 years ago
Closed 4 years ago
Fix the union of the flex items' margin boxes which we add flex container's padding to
Categories
(Core :: Layout: Flexbox, defect)
Core
Layout: Flexbox
Tracking
()
RESOLVED
FIXED
90 Branch
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | --- | wontfix |
firefox90 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
In bug 1697349, we include the flex container's padding by inflating the union of flex items' margin boxes. However, nsIFrame::GetMarginRect()
returns the margin rect that is shifted by position: relative
, so it probably doesn't make sense to see flex container's padding at the edge of a position: relative
flex item.
See Testcase 1. On Google Chrome and Safari, the flex container doesn't have scrollbars. Firefox 88 also has no scrollbars.
Comment 1•4 years ago
|
||
Set release status flags based on info from the regressing bug 1697349
status-firefox88:
--- → unaffected
status-firefox89:
--- → affected
status-firefox90:
--- → affected
status-firefox-esr78:
--- → unaffected
Assignee | ||
Comment 2•4 years ago
|
||
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c786a99f4a5b
Inflate flex container's padding by using the union of flex items' normal position margin boxes. r=dholbert
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/29131 for changes under testing/web-platform/tests
![]() |
||
Comment 5•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Updated•4 years ago
|
Keywords: regression
Upstream PR merged by moz-wptsync-bot
Updated•4 years ago
|
Updated•4 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•