Skip to content

Commit

Permalink
[css-anchor-position] Take other scroll adjustments into account. #9071
Browse files Browse the repository at this point in the history
  • Loading branch information
tabatkins committed Apr 9, 2024
1 parent 944f711 commit 79e05b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions css-anchor-position-1/Overview.bs
Expand Up @@ -975,6 +975,14 @@ we define:

* Otherwise, the length is 0.

If the [=default anchor element=],
or ancestors between it and |query el|'s [=containing block=],
are subject to additional scroll adjustments,
such as from further anchor positioning,
or sticky positioning,
etc.,
add that adjustment to the [=snapshotted scroll offset=] as well.

Issue: Define the precise timing of the snapshot:
updated each frame,
before style recalc.
Expand Down

0 comments on commit 79e05b6

Please sign in to comment.