[calc-size] Fix grid intrinsic repeat calculation.
Previously during the min/max sizes pass we returned
border/scrollbar/padding as the min-content/max-content sizes for
calculating how many repeaters we have.
This was ~fine, but now with calc-size() we can perform calculations
based on this. This would result in a incorrect calculation (as
demonstrated by the testcase).
Return kIndefiniteSize instead.
Bug: 313072
Change-Id: I4efa890f4ad5ff4df3e4c2f682cd8b49681c7d64
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5778346
Reviewed-by: David Baron dbaron@chromium.org
Commit-Queue: Ian Kilpatrick ikilpatrick@chromium.org
Cr-Commit-Position: refs/heads/main@{#1340685}