Skip to content

Commit

Permalink
[css-anchor-1] Add an issue pointing to #8180
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Dec 13, 2022
1 parent 1e9159e commit 5d26c74
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions css-anchor-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,17 @@ The ''anchor()'' function has three arguments:
If omitted,
it defaults to ''0px''.

Issue: Computed value for anchor()
probably needs to be the anchor() function,
but with the target anchor element resolved.
This allows for transitions to work properly
with tree-scoped names,
and with changing anchor elements.
See <a href="https://github.com/w3c/csswg-drafts/issues/8180">Issue 8180</a>.

An ''anchor()'' function representing a [=valid anchor query=]
resolves to the <<length>>
that would align the edge
resolves at [=used value=] time
to the <<length>> that would align the edge
of the positioned elements' [=inset-modified containing block=]
corresponding to the property the function appears in
with the specified border edge of the [=target anchor element=],
Expand Down

0 comments on commit 5d26c74

Please sign in to comment.