Skip to content

Commit c021927

Browse files
DavMilaDavid Awogbemilatabatkins
authored
[css-scroll-snap-2] Snap events bubble at the document. (#10377)
This specifies the resolution on #10173 making snap events bubble when fired at the document. Co-authored-by: David Awogbemila <awogbemila@chromium.org> Co-authored-by: Tab Atkins Jr <jackalmage@gmail.com>
1 parent 9bcae1d commit c021927

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-scroll-snap-2/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,8 @@ it is the snap position
585585
that the snap container will eventually snap to
586586
when the scrolling operation ends.
587587

588-
{{SnapEvent}}s do not bubble and are not cancellable.
588+
{{SnapEvent}}s do not bubble except when the event target is the {{Document}}.
589+
{{SnapEvent}}s are not cancellable.
589590

590591

591592
<!-- Big Text: Longhand

0 commit comments

Comments
 (0)