Re: [csswg-drafts] how should inline-axis intrinsic sizing work for 'fit-content' and 'fit-content()'? (#3731)

Sorry, I missed this. So the idea of `fit-content` was to represent the sizing formula of `auto` floats and tables so that it can be applied to other things, like regular blocks. And `fit-content(100%)` and `fit-content` are conceptually the same thing, assuming zero MBP; it would make sense if their behavior were essentially interchangeable. So the behavior here might need clarification in the spec, but unless there's some compelling reason not to, they should behave like `auto` does when it is interpreted as shrinkwrapping. Which is to say, contribute as for `max-content` when calculating max-content intrinsic sizes, and contribute as for `min-content` when contributing min-content sizes.

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

Received on Thursday, 16 May 2019 23:10:44 UTC