Correct implementation of calc-size() interpolation rules.
I believe I initially implemented these before the spec was written (or
before I was aware that it was). This updates the interpolation rules
to follow https://drafts.csswg.org/css-values-5/#interp-calc-size plus
the clarifications in w3c/csswg-drafts#10220 .
This doesn't implement the IACVT (invalid at computed value time) aspect
of the clarification in w3c/csswg-drafts#10220
and therefore adds both TODO comments and failing tests. (The tests are
useful to check for lack of crashes; when I first wrote them they did
crash and I needed to fix the crashes.)
Bug: 313072
Change-Id: Ia9903bd138c3afb58ef12da45171920d28de8fa6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5546294
Commit-Queue: David Baron dbaron@chromium.org
Reviewed-by: Daniil Sakhapov sakhapov@chromium.org
Cr-Commit-Position: refs/heads/main@{#1304382}