Skip to content

Commit 5509cee

Browse files
authored
Pin scroll snap events status to the events themselves (#3158)
The SnapEvent constructor itself is missing, but event constructors have little practical use, so this shouldn't affect the status.
1 parent 5a1df7c commit 5509cee

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

features/scroll-snap-events.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ name: Scroll snap events
22
description: The `scrollsnapchanging` and `scrollsnapchange` events fire when a scroll gesture changes the selected scroll snap target.
33
spec: https://drafts.csswg.org/css-scroll-snap-2/#scrollsnapchange-and-scrollsnapchanging
44
group: scrolling
5+
status:
6+
compute_from:
7+
- api.Document.scrollsnapchange_event
8+
- api.Document.scrollsnapchanging_event
9+
- api.Element.scrollsnapchange_event
10+
- api.Element.scrollsnapchanging_event
11+
- api.Window.scrollsnapchange_event
12+
- api.Window.scrollsnapchanging_event
513
compat_features:
614
- api.Document.scrollsnapchange_event
715
- api.Document.scrollsnapchanging_event

features/scroll-snap-events.yml.dist

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33

44
status:
55
baseline: false
6-
support: {}
6+
support:
7+
chrome: "129"
8+
chrome_android: "129"
9+
edge: "129"
710
compat_features:
11+
# ⬇️ Same status as overall feature ⬇️
812
# baseline: false
913
# support:
1014
# chrome: "129"
@@ -20,7 +24,6 @@ compat_features:
2024
- api.Window.scrollsnapchange_event
2125
- api.Window.scrollsnapchanging_event
2226

23-
# ⬇️ Same status as overall feature ⬇️
2427
# baseline: false
2528
# support: {}
2629
- api.SnapEvent.SnapEvent

0 commit comments

Comments
 (0)