File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,11 @@ Values have the following meanings:
277
277
to be in scope only for this element's descendants;
278
278
and limits descendants to only match these [=anchor names=]
279
279
to [=anchor elements=] within this subtree.
280
+ The <<dashed-ident>> is a [=tree-scoped name=] .
281
+
282
+ Note: Per [[css-scoping-1]] ,
283
+ when two [=tree-scoped names=] are compared,
284
+ they only match if they're from the same tree.
280
285
</dl>
281
286
282
287
This property has no effect on [=implicit anchor elements=] .
Original file line number Diff line number Diff line change @@ -724,6 +724,13 @@ Name-Defining Constructs and Inheritance</h3>
724
724
(In other words, [=tree-scoped names=] "inherit" into descendant shadow trees,
725
725
so long as they don't define the same name themselves.)
726
726
727
+ If two [=tree-scoped names=] are directly compared
728
+ (for example, comparing an [=anchor name=] with an 'anchor-scope' ident),
729
+ they are considered to match only if their identifiers match,
730
+ <em> and</em> their [=root=] s match exactly.
731
+ (If one has a [=root=] that's an ancestor of the other, for example,
732
+ they <em> do not</em> match.)
733
+
727
734
<div class=issue>
728
735
TODO: Fix all the at-rules that define global names,
729
736
and the properties that reference them,
You can’t perform that action at this time.
0 commit comments