Skip to content

Commit 704c501

Browse files
chrishtrtabatkins
andauthored
[css-anchor-positioning-1] Clarify that an element can anchor to another within the same skipped contents (w3c#10583)
* Update Overview.bs * rephrase, add note --------- Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
1 parent 53a6c69 commit 704c501

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

css-anchor-position-1/Overview.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,12 @@ in anchor positioning.
386386
* |el| is either an [=element=]
387387
or a [=part-like pseudo-element=].
388388

389-
* |el| is not in the [=skipped contents=] of another element.
389+
* If |el| is in the [=skipped contents=] of another element,
390+
then |query el| is in the [=skipped contents=] of that same element.
391+
392+
Note: In other words, |query el| can anchor to |el|
393+
if they're both in the same skipped "leaf",
394+
but it can't anchor "across" leafs.
390395

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

0 commit comments

Comments
 (0)