diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-anchor-position/anchor-default-002.html')
-rw-r--r-- | testing/web-platform/tests/css/css-anchor-position/anchor-default-002.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-default-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-default-002.html index 261119e017..c0a962ad36 100644 --- a/testing/web-platform/tests/css/css-anchor-position/anchor-default-002.html +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-default-002.html @@ -13,16 +13,15 @@ .target { position: fixed; background: lime; - position-fallback: --pf; + position-try-options: --pf; + left: 999999px; /* force fallback */ } -@position-fallback --pf { - @try { - top: anchor(bottom, 0px); - left: anchor(left, 0px); - width: anchor-size(width, 0px); - height: anchor-size(height, 0px); - } +@position-try --pf { + top: anchor(bottom, 0px); + left: anchor(left, 0px); + width: anchor-size(width, 0px); + height: anchor-size(height, 0px); } body { |