diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-005.html')
-rw-r--r-- | testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-005.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-005.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-005.html index deb546a1e2..fecd4328a5 100644 --- a/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-005.html +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-005.html @@ -42,14 +42,15 @@ height: 100px; background: lime; left: anchor(left); + bottom: anchor(top); anchor-default: --a; - position-fallback: --top-then-bottom; + position-try-options: --bottom; position-fallback-bounds: --bounds1; } -@position-fallback --top-then-bottom { - @try { bottom: anchor(top); } - @try { top: anchor(bottom); } +@position-try --bottom { + bottom: auto; + top: anchor(bottom); } </style> |