You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
www.adobe.com - Incorrect position of the error messages on “Contact” overlay #8616
changed the title [-]www.adobe.com - design is broken[/-][+]www.adobe.com - Incorrect position of the error messages on “Contact” overlay[/+]on Aug 2, 2017
So I'm pretty sure Firefox is correct here, and Chrome (and Edge) are incorrect.
The "problematic" bit of CSS here is align-content: flex-end. That is getting (incorrectly) ignored in Chrome and Edge, and if the site wants the Chrome/Edge behavior (as they probably do), then they should just remove that line since they're depending on it not having any effect.
Edge has a more subtle bug -- they only ignore "align-content" on abspos children of a flex container. And in this case, the child is indeed abspos, so it triggers this Edge bug. Reduced testcase for that (which Edge fails, but Firefox passes): https://jsfiddle.net/05b2oa7L/ I verified my understanding on this point with spec editor @tabatkins, and he agrees with my understanding, based on this bit of flexbox spec text:
Edge is not honoring that bit of spec text right now (if they were, then they'd render my above-linked jsfiddles the same way).
Anyway - as noted above, the site likely wants to drop align-content: flex-end (and its prefixed forms) since they're relying on it being ignored (and Firefox correctly does not ignore it).
BTW, Chrome "fixed" the bug that I linked above, but only partly -- they're now in the same situation as Edge, where they've got this working for normal flex items but broken for abspos children of a flex container. I'll file a bug on that.
Activity
[-]www.adobe.com - design is broken[/-][+]www.adobe.com - Incorrect position of the error messages on “Contact” overlay[/+]MDTsai commentedon Aug 3, 2017
Confirmed, move to needsdiagnosis.
softvision-oana-arbuzov commentedon Jan 16, 2018
The issue is still reproducible.
Tested with:
Browser / Version: Firefox Nightly Mobile 59.0a1 (2018-01-15)
Operating System: Google Pixel (Android 8.1.0) - Resolution 1080 x 1920 pixels (~441 ppi pixel density), Samsung Galaxy S7 Edge (Android 7.0) - Resolution 1440 x 2560 pixels (~534 ppi pixel density)
karlcow commentedon Jan 17, 2018
Markup
The CSS for the div containing the error message. I put in comments the non-standard ones.
This is what we get.
Let's remove
flex-wrap: wrap;and…Working.
The other solution I found was to add a
display: blockI switch to needscontact but maybe this is interesting for @dholbert on flexbox differences with Chrome.
dholbert commentedon Jan 20, 2018
So I'm pretty sure Firefox is correct here, and Chrome (and Edge) are incorrect.
The "problematic" bit of CSS here is
align-content: flex-end. That is getting (incorrectly) ignored in Chrome and Edge, and if the site wants the Chrome/Edge behavior (as they probably do), then they should just remove that line since they're depending on it not having any effect.RE why other browsers are wrong here:
Chrome has a pretty serious bug with sizing/positioning, in
flex-wrap:wrapflex containers that happen to just have a single line -- and among other things, it means they ignorealign-contentin these containers. This is https://bugs.chromium.org/p/chromium/issues/detail?id=599828 , and I think it's why they get things wrong here. Here's a reduced testcase for that (which Edge & Firefox agree on, but Chrome disagrees on due to this Chrome bug): https://jsfiddle.net/tqydyp0w/Edge has a more subtle bug -- they only ignore "align-content" on abspos children of a flex container. And in this case, the child is indeed abspos, so it triggers this Edge bug. Reduced testcase for that (which Edge fails, but Firefox passes): https://jsfiddle.net/05b2oa7L/ I verified my understanding on this point with spec editor @tabatkins, and he agrees with my understanding, based on this bit of flexbox spec text:
Edge is not honoring that bit of spec text right now (if they were, then they'd render my above-linked jsfiddles the same way).
Anyway - as noted above, the site likely wants to drop
align-content: flex-end(and its prefixed forms) since they're relying on it being ignored (and Firefox correctly does not ignore it).dholbert commentedon Jan 20, 2018
CC @gregwhitworth - Edge has a bug here, as noted above. They're not honoring align-content when determining the static position of the the abspos children at https://jsfiddle.net/05b2oa7L/ , even though https://drafts.csswg.org/css-flexbox/#abspos-items says they should.
karlcow commentedon Oct 8, 2019
Trying to find a way to send a simple bug report… and it's like Fort Knox to report something about the website itself.
https://twitter.com/MozWebCompat/status/1181440648651493381
dholbert commentedon Oct 8, 2019
BTW, Chrome "fixed" the bug that I linked above, but only partly -- they're now in the same situation as Edge, where they've got this working for normal flex items but broken for abspos children of a flex container. I'll file a bug on that.
dholbert commentedon Oct 8, 2019
I filed https://bugs.chromium.org/p/chromium/issues/detail?id=1012441 on the remaining Chrome bug (which the site is inadvertently depending on, by expecting align-content to be ignored here).
cipriansv commentedon Jan 13, 2020
After retesting the issue I noticed that the layout has changed.
Tested with:
Browser / Version: Mobile 68.5a1 (2020-01-11), Firefox Preview Nightly 200112 (🦎 74.0a1-20200110095023)
Operating System: Huawei P10 (Android 9.0) - 1080 x 1920 pixels (~432 ppi pixel density)
Closing the issue as invalid.