Skip to content

Commit e84ea2e

Browse files
committed
[css-scroll-snap-1] Clarify that programmatic scrolls are also subject to scroll-snap. Fixs #2593.
1 parent 4c68aa2 commit e84ea2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-scroll-snap-1/Overview.bs

+2-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ Overview {#overview}
207207
Using the 'scroll-snap-type' property on the relevant <a>scroll container</a>,
208208
the author can request a particular bias
209209
for the scrollport to land on a <a>snap position</a>
210-
after scrolling operations.
210+
after scrolling operations
211+
(including programmatic scrolls such as the {{Window/scrollTo()}} method).
211212

212213
<a>Snap positions</a> are specified
213214
as a particular alignment ('scroll-snap-align')

0 commit comments

Comments
 (0)