Remove redundant anchor reference from css-anchor-position WPT tests
Remove anchor references in anchor() if the reference is the same as
position-anchor.
For tests with anchor references from anchor() and anchor-size()
without position-anchor, modify a few of them by adding
position-anchor and remove anchor references, to increase test
coverage of anchor-size() implicitly use the default anchor, while
most of such tests are kept unchanged.
This will give web developers good examples of best usages. Previously
some web developers asked whether the redundant anchor references were
required.
Change-Id: I9bbdaa375afd845765266c272ca27cb565833257
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5588972
Reviewed-by: Mason Freed masonf@chromium.org
Commit-Queue: Xianzhu Wang wangxianzhu@chromium.org
Cr-Commit-Position: refs/heads/main@{#1308918}