Resolve relative colors for canvas 2d
In https://crrev.com/c/5825542 we deferred resolution of all relative
colors until after parse time for compatibility with expectations on
serialized values. Canvas 2d was still expecting these colors to be
resolved at parse time. The fix is to adjust the code to expect and
handle unresolved color functions.
Bug: 368562233
Change-Id: Iaafcab7cd45c0222317fe84343e3139a76fb1315
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5883454
Commit-Queue: Kevin Babbitt kbabbitt@microsoft.com
Reviewed-by: Aaron Krajeski aaronhk@chromium.org
Cr-Commit-Position: refs/heads/main@{#1359669}