Skip to content

Commit 7adba8c

Browse files
committed
[css-scroll-anchoring-1] Make position: sticky an excluded subtree
`position: sticky` nodes aren't suitable anchor candidates as they may become stuck in the future, which causes them to behave similarly to `position: fixed`.
1 parent 82cba89 commit 7adba8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

css-scroll-anchoring-1/Overview.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ the implementation may wait until the anchor node is needed before computing it.
122122

123123
* |N|’s computed value of the 'display' property is ''display/none''.
124124
* |N|’s computed value of the 'position' property is ''position/fixed''.
125+
* |N|’s computed value of the 'position' property is ''position/sticky''.
125126
* |N|’s computed value of the 'position' property is ''position/absolute''
126127
and |N|’s <a>containing block</a> is an ancestor of the scrolling box.
127128
* |N|’s computed value of the 'overflow-anchor' property is ''overflow-anchor/none''.

0 commit comments

Comments
 (0)