Skip to content

Commit c94e5ae

Browse files
committed
[css-anchor-position] Layout containment also scopes anchor names. w3c#9349
1 parent e5cd5fa commit c94e5ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-anchor-position-1/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ Not all elements are capable of being [=anchor elements=]
150150
for a given positioned element,
151151
so a name can be reused in multiple places
152152
if the usages are scoped appropriately.
153-
[=Anchor names=] are style-contained, [=scoped to a sub-tree=].
153+
If the element has either [=style containment=] or [=layout containment=],
154+
the 'anchor-name' property is [=scoped property|scoped=] [=scoped to a subtree|to a subtree=].
154155
If there are still multiple valid [=anchor elements=]
155156
with the given [=anchor name=],
156157
the last one is chosen.

0 commit comments

Comments
 (0)