Skip to content

Commit 7ab7f09

Browse files
committed
[css-anchor-position-1] Remove anchor-center from align/justify-items #13514
1 parent 590b64f commit 7ab7f09

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

css-anchor-position-1/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@ Centering on the Anchor: the ''anchor-center'' alignment value {#anchor-center}
13381338
--------------------------------------------------------------
13391339

13401340
<pre class=propdef>
1341-
Name: justify-self, align-self, justify-items, align-items
1341+
Name: justify-self, align-self
13421342
New Values: anchor-center
13431343
</pre>
13441344

@@ -1351,7 +1351,7 @@ but a common case for anchored positioning--
13511351
centering over the [=anchor box=]--
13521352
requires careful and somewhat complex set-up to achieve.
13531353

1354-
The new <dfn value for="justify-self, align-self, justify-items, align-items">anchor-center</dfn> value
1354+
The new <dfn value for="justify-self, align-self">anchor-center</dfn> value
13551355
makes this case extremely simple:
13561356
if the positioned box has a [=default anchor box=],
13571357
then it is centered (insofar as possible)
@@ -2699,6 +2699,8 @@ Changes {#changes}
26992699
Significant changes since the <a href="https://un5gmtkzgkj46tygt32g.julianrbryant.com/TR/2026/WD-css-anchor-position-1-20260130/">30 January 2026 Working Draft</a>:
27002700
* Mark 'position-area' as discretely animatable.
27012701
(<a href="https://github.com/w3c/csswg-drafts/issues/13577">Issue 13577</a>)
2702+
* Remove ''anchor-center'' from 'align-items' and 'justify-items' because those properties have no effect on absolutely-positioned boxes anyway.
2703+
(<a href="https://github.com/w3c/csswg-drafts/issues/13514">Issue 13514</a>)
27022704

27032705
Significant changes since the <a href="https://un5gmtkzgkj46tygt32g.julianrbryant.com/TR/2025/WD-css-anchor-position-1-20251222/">22 December 2025 Working Draft</a>:
27042706

0 commit comments

Comments
 (0)