Fix crash on calc() in grid rows/columns.
Seemingly we already have clamping and all in place computed-value
time, so we just to avoid calling GetIntValue() during parsing.
Note that a test discovered that GetValueIfKnown() did not round
the same way GetDoubleValue() evidently does, so we needed to fix
that.
Bug: 40946458
Change-Id: I51eb467196853cc88ce52d7f307b3aaf7cae4261
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6059011
Commit-Queue: Daniil Sakhapov sakhapov@chromium.org
Auto-Submit: Steinar H Gunderson sesse@chromium.org
Reviewed-by: Daniil Sakhapov sakhapov@chromium.org
Cr-Commit-Position: refs/heads/main@{#1389876}