summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html')
-rw-r--r--testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html
index ff982ea93e..eeee710e0f 100644
--- a/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html
+++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html
@@ -57,12 +57,13 @@ body {
left: anchor(left);
anchor-default: --a;
position-fallback-bounds: --bounds;
- position-fallback: --top-then-bottom;
+ position-try-options: --bottom;
+ bottom: anchor(top);
}
-@position-fallback --top-then-bottom {
- @try { bottom: anchor(top); }
- @try { top: anchor(bottom); }
+@position-try --bottom {
+ top: anchor(bottom);
+ bottom: auto;
}
</style>