Skip to content

Commit 6f1279b

Browse files
ddbeckjamesnw
andauthored
Add scroll-initial-target (#2610)
* Add `scroll-initial-target` * Refresh dist * Revise description Co-authored-by: James Stuckey Weber <[email protected]> --------- Co-authored-by: James Stuckey Weber <[email protected]>
1 parent 985bfa8 commit 6f1279b

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

features/scroll-initial-target.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: scroll-initial-target
2+
description: "The `scroll-initial-target: nearest` CSS declaration sets the initial scroll position of its scroll container to the top of the element, much like scrolling to a URL fragment."
3+
spec: https://drafts.csswg.org/css-scroll-snap-2/#properties-on-the-scroll-container
4+
compat_features:
5+
- css.properties.scroll-initial-target
6+
- css.properties.scroll-initial-target.nearest
7+
- css.properties.scroll-initial-target.none
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Generated from: scroll-initial-target.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "133"
8+
chrome_android: "133"
9+
edge: "133"
10+
compat_features:
11+
- css.properties.scroll-initial-target
12+
- css.properties.scroll-initial-target.nearest
13+
- css.properties.scroll-initial-target.none

0 commit comments

Comments
 (0)