New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.3.0 breaks latest Chrome #45
Comments
can you create a codepen so I can take a look? |
☝️ Same. If I write |
can you tell me why that's not valid? is that because you can't use |
Hey Luís, |
and 100% 1 is valid? |
can you do a quick codepen so I can test it? |
There's something really weird going on on both chrome and firefox. .flex-child1 {
flex: 100% 2;
/*
flex-basis: 100%;
flex-grow: 2;
flex-shrink: 1;
*/
} But the spec says that with two values, the first one should be unitless: https://developer.mozilla.org/en-US/docs/Web/CSS/flex#Syntax |
Hey, after some testing it is the more apparent on Safari iOS <= 10 |
So, all browsers are not following the spec? 😝 |
Are we kind of at an impasse with this one? The docs around this are a bit confusing; I just haven't found any Chromium bugs to back up this being an issue with how the browser is handling it. |
I honestly have no idea. The spec is very clear, but, apparently, browsers are not following the spec at all :( |
Please correct me if I'm wrong, but isn't the actual spec here: According to that, the acceptable values are: The double bar (||) separates two or more options: one or more of them must occur, in any order. If I'm interpreting that correctly, that means |
You must be right. I only glanced the spec and didn't read the double || thing. I'm glad they're right and I'm wrong though! |
Yeah this is actually great news! |
Could we arrange a revert of 3.3.0 then? (#43) |
fixed in #46 published in 3.3.1 Thanks everyone! |
Neat, thanks to you! |
Hey,
I understand why #43 has been done, but since upgrading to 3.3.0, all my layouts are broken in latest Chrome. Flex elements overlap over each other in a big mush. Should the specs be followed on this matter?
Thanks!
The text was updated successfully, but these errors were encountered: