Apply anchor-center to base style
ApplyAnchorData() was applied once for style resolution, and only after
the base style was cloned. When the base style was used for computing
fallback positions we would use an undefined anchor-center for
alignment.
Make sure we compute the anchor-center position before storing the base
style.
Bug: 342428030
Change-Id: I61f3b668515c72b1ac4ad2f26038b0306e1836cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5934326
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Commit-Queue: Rune Lillesveen futhark@chromium.org
Cr-Commit-Position: refs/heads/main@{#1371302}