Skip to content

Commit

Permalink
[css-anchor-positioning-1] Clarify that an element can anchor to anot…
Browse files Browse the repository at this point in the history
…her within the same skipped contents (#10583)

* Update Overview.bs

* rephrase, add note

---------

Co-authored-by: Tab Atkins Jr. <[email protected]>
  • Loading branch information
chrishtr and tabatkins authored Jul 17, 2024
1 parent 53a6c69 commit 704c501
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion css-anchor-position-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,12 @@ in anchor positioning.
* |el| is either an [=element=]
or a [=part-like pseudo-element=].

* |el| is not in the [=skipped contents=] of another element.
* If |el| is in the [=skipped contents=] of another element,
then |query el| is in the [=skipped contents=] of that same element.

Note: In other words, |query el| can anchor to |el|
if they're both in the same skipped "leaf",
but it can't anchor "across" leafs.

* |el| is in scope for |query el|,
per the effects of 'anchor-scope' on |query el|
Expand Down

0 comments on commit 704c501

Please sign in to comment.