Bug
1823833 [wpt PR 39133] - [anchor-position] Resolve anchor functions in getComputedStyle(), a=testonly
Automatic update from web-platform-tests
[anchor-position] Resolve anchor functions in getComputedStyle()
Currently, when getComputedStyle() returns values for `left` etc,
it needs to re-resolve them (after layout) into a pixel value.
This patch provides an NGAnchorEvaluatorImpl for the resolution, so
that anchor functions can also be resolved.
There are also a few cases that are unsolved and left for future.
They are marked with TODOs.
Bug:
1423493
Change-Id: I319543230008e61a8363fdebb111a9840adc6e5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
4330385
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1127332}
--
wpt-commits:
e5d08dfdc81c07e54c0904996e972ccde18539ac
wpt-pr: 39133