Bug 1803195 [wpt PR 37237] - [anchor-position] Ensure test names are unique, a=testonly
commitd2bfa53962b96d1d12b2a33960ce756d37099916
authorKoji Ishii <kojii@chromium.org>
Wed, 7 Dec 2022 14:04:34 +0000 (7 14:04 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 11 Dec 2022 12:08:09 +0000 (11 12:08 +0000)
tree48d7899b0dc649e0747b9657ab6a8cc9ce07c566
parent28cc05e8317fda4804949ff60239742f4fefbe23
Bug 1803195 [wpt PR 37237] - [anchor-position] Ensure test names are unique, a=testonly

Automatic update from web-platform-tests
[anchor-position] Ensure test names are unique

`anchor-position-writing-modes-002.html` generates test names
by reading the `Element.style.cssText`. This string becomes
empty if the browser doesn't support the syntax, causing the
duplicated test names on such browsers.

This patch ensures that test names are unique even when the
browser doesn't support the CSS Anchor Positioning.

Bug: 1394474
Change-Id: Id3666b855e9059013d5f6e53d9d6b6c17f4afadb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4060635
Auto-Submit: Koji Ishii <kojii@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1077125}

--

wpt-commits: eb328fec20df7d2060d1fa0c6db31471c6467684
wpt-pr: 37237
testing/web-platform/tests/css/css-anchor-position/anchor-position-writing-modes-002.html