Bug
1578966 [wpt PR 18865] - Switch InterpolableLength implementation from length array to expression, a=testonly
Automatic update from web-platform-tests
Switch InterpolableLength implementation from length array to expression
This patch changes the internal implementation of InterpolableLength
from CSSLengthArray to the following:
- A CSSNumericLiteralValue to keep it simple when it's a simple value
- A CSSMathExpressionNode to make it general when the underlying length
involves calculation and math functions
In this way, we can interpolate when the length cannot be represented
as a CSSLengthArray (i.e., when comparison functions min/max are
involved).
Bug: 991672
Change-Id: Ib83fc0a07d0eb1d03a2465ac9df5282f963b935b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
1777025
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Alan Cutter <alancutter@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#694443}
--
wpt-commits:
23209b4b1aecd29a86d33e1ac5145219983099fa
wpt-pr: 18865