Use length resolver for palette-mix()
This CL adds length resolver to resolve calc() expressions inside
palette-mix().
It also changes some code around it, that depends on the same functions.
In some places where we don't have access to length resolver, for now,
we will use default length resolver, with TODOs being placed there not
to forget to deal with them later.
Also, in this CL the correct interpolation is not addressed and it will be
rewritten in following CL.
Bug: 40946458
Change-Id: I74e808429ef50bcd689efc100e388af814c6c729
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5831439
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Commit-Queue: Daniil Sakhapov sakhapov@chromium.org
Cr-Commit-Position: refs/heads/main@{#1350706}