commit ac6f10029acb81ff30ab1e15313d442da2719f0f parent 8ee1f50fcda2fdab16287b23cd189441c341833a Author: Rune Lillesveen <futhark@chromium.org> Date: Wed, 15 Oct 2025 08:58:12 +0000 Bug 1994006 [wpt PR 55394] - Rename xy-self to self-xy for position-area values, a=testonly Automatic update from web-platform-tests Rename xy-self to self-xy for position-area values Per spec change after resolution[1]. The old keyword variants are kept behind a flag just in case, but only as specified values. Computed values use the new variants regardless. [1] https://github.com/w3c/csswg-drafts/issues/12749#issuecomment-3357137483 Bug: 448642325 Change-Id: Iaad49b0092794e21a55b8bbb88bf46c479bcb433 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7021949 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/main@{#1528841} -- wpt-commits: 8cb7470336768b84b783af67a5b58b214a1a5e01 wpt-pr: 55394 Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/testing/web-platform/tests/css/css-anchor-position/container-queries/anchored-fallback-position-area.html b/testing/web-platform/tests/css/css-anchor-position/container-queries/anchored-fallback-position-area.html @@ -30,6 +30,7 @@ @container anchored(fallback: block-end span-all) { --block-end-span-all: yes; } @container anchored(fallback: self-block-end) { --self-block-end: yes; } @container anchored(fallback: span-all self-block-end) { --span-all-self-block-end: yes; } + @container anchored(fallback: self-y-end) { --self-y-end: yes; } } </style> <div id="anchor"></div> @@ -45,5 +46,6 @@ assert_equals(style.getPropertyValue("--block-end-span-all"), "yes"); assert_equals(style.getPropertyValue("--self-block-end"), "yes"); assert_equals(style.getPropertyValue("--span-all-self-block-end"), "yes"); + assert_equals(style.getPropertyValue("--self-y-end"), "yes"); }, "@container anchored(fallback) with <position-area> fallback applied"); </script> diff --git a/testing/web-platform/tests/css/css-anchor-position/container-queries/at-container-anchored-parsing.html b/testing/web-platform/tests/css/css-anchor-position/container-queries/at-container-anchored-parsing.html @@ -20,4 +20,5 @@ test_cq_condition_unknown('anchored(style(fallback: top left))'); test_cq_condition_unknown('style(anchored(fallback: --foo))'); test_cq_condition_unknown('anchored(fallback:)'); + test_cq_condition_unknown('anchored(fallback: x-self-start)'); </script>