[css-grid] Handle min-content/max-content with orthogonal flows