Re: [csswg-drafts] [css-grid] Do all percentages behave as auto when computing minimum contribution? (#3612)

> I don't like this new incompatible definition of "behaves as auto".

I also had the impression that "behaves as auto" was contextual, but I was told that the definition of "behaves as auto" is that the behavior of the value is completely indistinguishable from `auto`, and for grid items percentages are only treated like auto at some points, so they don't behave as auto. IIRC, @FremyCompany was strongly convinced about this, and @fantasai agreed.

Can you clarify why you think this definition is incompatible? I had the impression that percentages being treated as `auto` at some points and different than `auto` at other points is a relatively new thing of grid and flex layout.

> A percentage always depends on its percentage basis to be resolved.

Yes, that's why we used "depends on the size of its containing block", we wanted to include percentages. Just checking "behaves as auto" wasn't including percentages.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3612#issuecomment-549288902 using your GitHub account

Received on Monday, 4 November 2019 10:10:40 UTC