Fix crash on calc() in font-palette-override.
We use the metrics from the initial style (like with
media queries), as specified in css-values-4.
This still does not resolve what we are to do with
values related to an element, though (e.g. sibling-index()).
Bug: 40946458
Change-Id: Idd7f57c5e085bf03fb3d6742126fdb0082ff3191
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6058267
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Commit-Queue: Steinar H Gunderson sesse@chromium.org
Cr-Commit-Position: refs/heads/main@{#1389684}