Fall back to discrete animation when calc-size() interpolation would exceed expansion limit.
Interpolating between calc-size() expressions that have a nested
calc-size() expression as the basis requires expansion in order to make
the bases compatible. We have an expansion limit to prevent overly
large results.
This change makes expressions whose interpolation would exceed the
expansion limit be treated as not interpolable (that is, animate
discretely), as resolved in
w3c/csswg-drafts#10369 (comment)
Fixed: 346975480
Bug: 313072
Change-Id: I22da5a67eddb429140e813e0b41a7af641b8fa33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5714768
Reviewed-by: Robert Flack flackr@chromium.org
Commit-Queue: David Baron dbaron@chromium.org
Cr-Commit-Position: refs/heads/main@{#1329123}