Skip to content

Commit 79e05b6

Browse files
committed
[css-anchor-position] Take other scroll adjustments into account. w3c#9071
1 parent 944f711 commit 79e05b6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

css-anchor-position-1/Overview.bs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,14 @@ we define:
975975

976976
* Otherwise, the length is 0.
977977

978+
If the [=default anchor element=],
979+
or ancestors between it and |query el|'s [=containing block=],
980+
are subject to additional scroll adjustments,
981+
such as from further anchor positioning,
982+
or sticky positioning,
983+
etc.,
984+
add that adjustment to the [=snapshotted scroll offset=] as well.
985+
978986
Issue: Define the precise timing of the snapshot:
979987
updated each frame,
980988
before style recalc.

0 commit comments

Comments
 (0)