Skip to content

Commit 91a7f09

Browse files
authored
[css-anchor-position-1] Use last valid anchor, not first. #8165
1 parent 924d513 commit 91a7f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-anchor-position-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ might not be capable of anchoring the positioned element.
570570
Otherwise, return nothing.
571571

572572
3. Otherwise, |anchor spec| is a <<dashed-ident>>.
573-
Return the first element |el| in tree order
573+
Return the last element |el| in tree order
574574
that satisfies the following conditions:
575575

576576
* |el| is an [=anchor element=] with an [=anchor name=] of |name|.

0 commit comments

Comments
 (0)