[css-grid] Fix track sizing algo w/ size restrictions and intrinsic sizes

The current implementation does not comply with what specs say about the
size available for the track sizing algorithm when the grid container is
sized under min/max size restrictions and/or when it has intrinsic sizes.

For the case of columns it was working fine as the intrinsic widths are
properly calculated by computeIntrinsicLogicalWidths() before the layout of
grid items is done. The problem is the rows as the heights depend on the
widths in the CSS Box model.

Apart from that we properly detect from now on when a grid container either
has a definite or indefinite size.

BUG=423743

Review URL: https://codereview.chromium.org/1317643005

Cr-Commit-Position: refs/heads/master@{#358816}
20 files changed