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

Currently there is no support for orthogonal flows in many aspects of the
Grid Layout logic.

The Grid sizing algorithm should be adapted to this scenario, hence this
patch focus on the min-content and max-content functions, used to resolve
content based track sizes.

BUG=234194

Review-Url: https://codereview.chromium.org/815833005
Cr-Commit-Position: refs/heads/master@{#401246}
9 files changed