Created attachment 361698 [details]
What steps will reproduce the problem?
(1) Create a css grid sized under a max-content constraint, with a fit-content(100%) column size.
(2) Place a grid item inside it, with a min-content contribution of 50px and a max-content contribution of 100px.
What is the expected result?
The grid is 100px wide.
What happens instead?
The grid is 50px wide.
According to https://github.com/w3c/csswg-drafts/issues/3585, fit-content() with an indefinite percentage should be treated as minmax(auto,max-content) instead of resolving the percentage against 0.
Firefox and Edge already did this, and Blink has been fixed in https://crbug.com/927865
Created attachment 361700 [details]
Comment on attachment 361700 [details]
Clearing flags on attachment: 361700
Committed r241746: <https://trac.webkit.org/changeset/241746>
All reviewed patches have been landed. Closing bug.